
Install PostgreSQL, the open-source relational database management system, on Windows using binary packages or EnterpriseDB, configure the data directory, set a password, and access via pgAdmin.
Master inserting records in PostgreSQL with insert queries, including column lists and multi-row values. Apply these concepts to schema tables like user and rooms, handling strings, numbers, and identity columns.
Update records in PostgreSQL using update statements with set and where clauses to modify specific columns by their unique identities or primary keys.
Explore deleting records in PostgreSQL using delete from, where clauses, and the and/or operators, with examples of id and name and combining multiple conditions.
Explore how to use comparison and logical operators in PostgreSQL with the where clause, combining conditions with and, or, not, and keywords like between, in, and like.
Explore the between operator to filter products by unit price between 30 and 50, including greater than or equal to 30 and less than or equal to 50.
Explore pattern matching in PostgreSQL using the like operator, with % and _ wildcards to find city and customer names starting with, ending with, or containing a sequence.
Learn to create and relate multiple school management databases in PostgreSQL by building tables with primary keys, constraints, and foreign keys across schools.
Explore foreign key concepts and constraints in PostgreSQL, and see how primary keys like student_id and school_id enforce referential integrity and prevent actions that break table links.
Insert dummy values into the schools, classes, and students tables, test foreign key constraints on school IDs, and validate auto-generated IDs for data analysis and full-stack workflows.
Explore how to join PostgreSQL tables using inner, left, right, and full joins to combine school, class, and student data based on common columns.
Delete or drop a database in PostgreSQL by closing all editing windows, right-clicking the database, and selecting delete or drop to remove it.
Declare and use variables in PostgreSQL within a begin-end block, assign values, and print with notices. Learn variable data types, naming rules, and the now function for current time.
Explore creating and using functions and stored procedures in PostgreSQL, including create or replace function, passing arguments, and returning values, with examples like add, multiply, and triangle area.
Explore creating and using PostgreSQL functions with and without arguments, including begin and end blocks, variables, and immutable, stable, and volatile options, with examples like sales tax and total students.
Explore views in PostgreSQL, learn to create, query, and reuse complex joins across multiple tables, and manage view lifecycles with selection, limiting, and dropping.
Explore how to use group by in PostgreSQL for data analysis, counting customers by country or department with aggregate functions, and ordering results to reveal most populated groups.
Explore a simple er diagram of a PostgreSQL database in PgAdmin, mapping actor, address, category, city, country, customer, film, inventory, language, payment, rental, staff, and store tables.
Learn use of Joins on 3 Tables
Join the actor and film_actor tables to count each actor's movies, then group by actor id, first name, and last name, order by count, and limit to five.
Syllabus of the Course
Lecture 1: Introduction and Installation of PostgreSQL
Lecture 2: Creating First Database and First Table using UI in PostgreSQL
Lecture 3: PostgreSQL creating a Database using SQL query
Lecture 4: Primary Key Constraint and Setting it on already created table
Lecture 5: Inserting Records in PostgreSQL using Queries
Lecture 6: Updating Records in PostgreSQL
Lecture 7: Deleting Records in PostgreSQL AND and OR Operators
Lecture 8: Importing an External Database in PostgreSQL from SQL Code
Lecture 9: Comparison Operators in PostgreSQL with Where Clause
Lecture 10: Comparison and Logical Operators Together in PostgreSQL With Where Clause
Lecture 11: Between Operator in PostgreSQL with WHere Clause
Lecture 12: IN and NOT IN with Where Clause in PostgreSQL
Lecture 13: LIKE Operator for Pattern Matching in PostgreSQL
Section 2: Multiple Schools Management System Database Example
Lecture 14: Creating Multiple School Management System DB in PostgreSQL
Lecture 15: Concept of Foreign Key and FK Constraint in PostgreSQL
Lecture 16: Creating students table with 2 foreign keys in database using Postgresql
Lecture 17: Inserting dummy values in tables and testing foreign key constraint
Lecture 18: Joins in PostgreSQL - Inner, Left, Right, Full
Section 3: Deleting or Dropping Databases and Columns
Lecture 19: How to Delete or Drop Database in PostgreSQL
Lecture 20: Dropping Regular Columns and those with Foreign Key Constraint
Section 4: Stored Procedures or Functions
Lecture 21: Variables in PostgreSQL
Lecture 22: Functions or Stored Procedures in PostgreSQL - Part 1
Lecture 23: Functions or Stored Procedures in PostgreSQL - More Examples
Lecture 24: Views in PostgreSQL
Section 5: Misc
Lecture 25: Aggregate Functions in PostgreSQL
Lecture 26: GROUP BY in PostgreSQL for Data Analysis