Creating Databases and Tables in PostgreSQL

Pubblicato il: 23 marzo 2024
sul canale di: Prof. Obetz
232
3

In this video, we explore how to perform common DDL operations in a Postgres database. We cover how to log into postgres on the command line with psql, how to create users and databases, and how to create, modify, and drop tables from our database. We also look at how we can perform these same operations using the pg package in NodeJS.

0:00 Introduction
0:50 Running PSQL
2:27 Creating Users and Databases
4:26 Building Tables and Examining Relations
7:25 Connecting to Postgres from NodeJS
11:10 Executing Queries with PG
13:52 Re-running CREATE Statements and DROP
17:15 Verifying Tables Were Created
20:35 Column Constraints (NOT NULL, UNIQUE...)
24:06 Primary Keys and References
29:02 Viewing Foreign Key Constraints in Action
30:39 ALTERing Existing Tables
32:41 Summary


In questa pagina del sito puoi guardare il video online Creating Databases and Tables in PostgreSQL della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Prof. Obetz 23 marzo 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 232 volte e gli è piaciuto 3 spettatori. Buona visione!