Skip to the content.

Webinar 1 – Structure

Webinar recording:

webinar-1

Here you can find the structure for the first webinar. In particular, we will discuss: (i) module organization and functioning; (ii) basics of the relational model; (iii) SQL create, delete, and insert.

Week (date) Agenda
1 (24-05) Introduction to SMM695
  PostgreSQL vs MongoDB
  Relational model
  Q&A
  Group discussion – artworks sample
  ER diagrams
  Homework solutions
  psql via PgAdmin or Terminal
  Loading the Pagila example

During the group discussion, you will be provided with a small random sample of the artworks_data.csv retrieved at the Tate GitHub repo.

Please review the pre-recorded material and inspect the artwork sample before attending this webinar.

Material

Webinar materials:

Pagila

To load the Pagila example, please do the following:

1). Open psql;

2). Create a new database and connect:

CREATE DATABASE pagila;
\c pagila;

3). Use \i to run the SQL script:

\i /PATH/TO/pagila-schema.sql;
\i /PATH/TO/pagila-data.sql;