Subqueries? Yes, Recursive CTEs? Yes, Server programming with SQL and PL/pgSQL, Stored Procedures? Yes, Window Functions? Yes indeed and much more...
I've design this course from step-by-step move from basic to advanced topics. Here is a partial list of some of the topics that are covered in 50+ sections and 60+ hours of this course:
Subqueries? Yes, Recursive CTEs? Yes, Server programming with SQL and PL/pgSQL, Stored Procedures? Yes, Window Functions? Yes indeed and much more...
I've design this course from step-by-step move from basic to advanced topics. Here is a partial list of some of the topics that are covered in 50+ sections and 60+ hours of this course:
Apply powerful SQL commands to store, update and retrieve information
Step-by-step walkthrough to perform simple to complex SQL queries
How to create a database from the scratch, Creating and modifying tables
Using UPSERT for INSERT and UPDATE at the same time
Query data with
Master the PostgreSQL database, and see how to apply it with real world database and queries. Sign up today and master PostgreSQL.
Welcome to the course!
I've created this lecture to contains;
Important sample data files
All files are attached to the lecture
In this video, we will install the postgreSQL server on a Mac.
How to install PostgreSQL on Windows
We will configure the pgAdmin 4 client interface to connect to our PostgreSQL 12 server installed earlier.
We will be creating a new user login to access our PostgreSQL database, and creating training tables.
We will be creating our learning database on our new server.
A quick introduction on how we will be running queries within the pgAdmin tool
We will be working on uploading and installing the sample data files to our PostgreSQL server.
Install Human Resources (hr) database
In this video, we will be installing some sample stock market data to our tables.
How to drop a database
Movie Database Structure
We will create an actor table which will contains actor related information.
We will create an directors table which will contains director related information.
We will create a movies table and store various movies related information like movie name, release_date and more.
In this video, we will show you how to create a movies_revenues table which will contains movies revenues.
We will show you how to create a junction table which will connect movies and actors table together by means of foreign keys.
Install sample data for 'movies' database
We will create a sample Database called "mydata" and then we will create tables and data inside as per later videos.
We will use the pgAdmin Graphical User Interface (GUI) tool to create and modify a table.
We will use the pgAdmin Graphical User Interface (GUI) tool to view existing table structure like columns, constraints etc., and create a column to an existing table.
We will use the pgAdmin Graphical User Interface (GUI) tool to view a column properties, rename it, and change its data type.
How to use pgAdmin or DROP TABLE command to delete a table from a database.
How to insert data into a table.
How to insert multiple records in one single INSERT statement.
How to insert a data if this contains a quote e.g. we want to insert 'users's log' as text in our table.
How to use RETURNING clause in INSERT statement to get information of added row.
How to update data in a table
How to updating a row and returning the updated row
How to update all records in a table.
How to delete a row based on a condition or delete all data from a table
How to select all data from a table
How to use SELECT statement to get selected columns from a table.
How we can use column aliases to make our sql commands results output more presentable and readable for all users.
We will demonstrate how to use SELECT statement with expressions. i.e. use SELECT but not on a table?
How to use ORDER BY to list records in a table
How to use ORDER BY with alias column name
How to use ORDER BY to sort rows by expressions
How to use either column name or column number for ORDER BY clause.
How to use ORDER BY when you have NULL data in a table
How to use DISTINCT function to get unique or distinct value of a table.
We will look into comparison, Logical, and Arithmetic operators
How to use WITH with AND operator
How to use WITH along with OR operator
How to use AND, OR operators together, and how with/without parenthesis will change the query result output.
What is allowed before and after WHERE clause
How SQL process AND, OR operators in terms of executions, and what role parenthesis play in query output.
Can we use column aliases with WHERE?
How SQL does the order of execution of WHERE, SELECT and ORDER BY clause
How to use LIMIT and OFFSET to slice and dice to limit output records
How to use IN and NOT IN with WHERE clause to filter data and more.
How to use BETWEEN and NOT BETWEEN clause with WHERE statement
How to use IS NULL and IS NOT NULL to filter missing values and more.
Concatenation techniques
How to use ||, CONCAT and CONCAT_WS to concatenate strings and table columns
Boolean data type
Characters data types
Numeric data types
Decimals data types
Selecting Numbers data types
DATE
TIME
TIMESTAMP and TIMESTAMPTZ
UUID data type
hstore data type
JSON data type
Network Address data types
Creating sample database, adding columns
Data type conversions
Using CAST for data conversions
Table data conversion
We will create a data type which will allow only a positive number for a column
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.