In this course you will learn more about the historical design of databases and the use of SQL in the PostgreSQL environment. Using SQL techniques and common commands (INSERT INTO, WHERE, ORDER BY, ON DELETE CASCADE, etc) will enable you to create tables, column types and define the schema of your data in PostgreSQL. You will learn about data modeling and how to represent one-to-many and many-to-many relationships in PostgreSQL.
Class Deals by MOOC List - Click here and see Coursera's Active Discounts, Deals, and Promo Codes.
Students will do hands-on assignments creating tables, inserting data, designing data models, creating relational structures and inserting and querying relational data in tables.
Course 1 of 4 in the PostgreSQL for Everybody Specialization.
What You Will Learn
- Utilize psql and SQL commands to implement CRUD (Create, Read, Update, and Delete) operations for tables in a PostgreSQL database.
- Identify and utilize the functions of primary, logical, and foreign keys within a database.
- Build and differentiate between one-to-many and many-to-many relationships within PostgreSQL.
- Recall key people, organizations, and innovations that were instrumental to building the SQL standard
Syllabus
WEEK 1
Introduction to SQL
In this first week, you will hear more about the goals of this course. You'll learn about the people and organizations instrumental to building the SQL standard, learn to differentiate between relational databases and flat files, and utilize psql and SQL commands to create, read, update, and delete tables in a PostgreSQL database.
WEEK 2
Single Table SQL
This week, you'll learn to recall and utilize common psql commands, create a database using command line prompts, and utilize common SQL commands, including INSERT INTO, WHERE, and ORDER BY.
WEEK 3
One-To-Many Data Models
This week focuses on relational database design and one-to-many data models. You'll also learn the functions of primary, logical, and foreign keys within a database, and how to reconnect rows with corresponding data in a table.
WEEK 4
Many-To-Many Data Models
The final week in this course focuses on many-to-many data models. You'll soon be able to differentiate between one-to-many and many-to-many relationships, and as well as normalize and insert data items into a connected set of many-to-many tables.