PostgreSQL

PostgreSQL & Python - Creating Tables

Create new tables in a PostgreSQL database using Python through psycopg and the connect() function. Create three example tables and insert some sample data into the tables.

The expected submission will be a document explaining the steps taken along with screenshots illustrating your progress, in addition to the output from a command to display the table list in the created database.

This task is dependent on the information learned from completing a separate task: Connect to PostgreSQL from a Python Application.

Task tags

  • python
  • application
  • sql
  • database

Students who completed this task

jcheong, Colin19, Brandon

Task type

  • code Code

Level

Beginner
close

2018