Creating Databases and Tables in PostgreSQL

Veröffentlicht am: 23 März 2024
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video Creating Databases and Tables in PostgreSQL mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Prof. Obetz 23 März 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 232 Mal angesehen und es wurde von 3 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!