PostgreSQL Bootcamp : Go From Beginner to Advanced, 60+hours

Learn about Subqueries, CTEs, Indexes, PL/SQL, PL/pgSQL, Triggers, Cursors, Partitions, Views, JSON, Window Functions...

  • 0.0 (0 Reviews)
  • 0 Students
  • 629 Lessons
  • Adnan Waheed

Course Overview

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 ORDER BY, Logical operators, and filters

  • Understand PostgreSQL various data types with examples

  • Data type conversions with CAST, and conversion functions

  • Create your own user-defined data types

  • Explore table and column constraints, create multiple composite constraints, see data integrity operations

  • Create your own custom sequences

  • Parsing data with queries using string functions

  • Aggregate data with aggregate functions

  • Date/Time data types, Intervals, and handling timezones

  • Grouping Data with GROUP BY, conditional filter with HAVING

  • Joining Multiple Tables with various joins techniques

  • Combining Queries together with UNION, INTERSECT, and EXCEPT

  • Understand and create PostgreSQL Schemas, ownership, security privileges

  • Constructing arrays and ranges, query array data with conditional filters

  • Storing data with JSONB objects and Indexing

  • Query performance optimization with indexes, understanding indexes nodes and outputs

  • Create and update regular and materialize views

  • Simple to advances step-by-step Subqueries

  • Creating Common Table Expressions (CTEs), and recursive CTEs queries

  • Making data into group sets

  • Simple to advanced Windows Functions

  • Using regular expressions for text patterns

  • Powerful text searches in PostgreSQL

  • Create and exploring table partitioning techniques

  • Server programming with SQL and PL/pqSQL

  • Creating Stores Procedures

  • Extending PostgreSQL echosystem with custom indexes, and aggregate functions

  • Creating, and executing Triggers

  • Using Cursors

  • pqsql Utility Commands

  • Creating Crosstab reports

  • Making our database for storing global language data - Internationalization

  • Running queries with PostgreSQL transactions

  • Crating, and Managing PostgreSQL Security

  • All about PostgreSQL internals on how data gets stored and much more

  • Running hundreds of queries on sample databases like HR, Northwind, Stock Markets, Word Trades database

This comprehensive course will teach you everything about PostgreSQL to use in your next big project!

Master the PostgreSQL database, and see how to apply it with real world database and queries. Sign up today and master PostgreSQL!

See more

FAQ

FAQ area empty

Course curriculum

49 chương 629 bài học 67 giờ 10 phút 7 bài học thử miễn phí
Chương 1 Welcome
Chương 2 Introduction to PostgreSQL
Chương 3 Creating and Modifying Tables
  • Movie Database Structure 3:38
  • Creating the movie database and a actors table 6:18
  • Creating the directors table 3:29
  • Creating the movies table with a foreign key 5:54
  • Creating the movies_revenues table 3:43
  • Creating a Junction table with movies and actors tables 4:24
  • Install sample data for 'movies' database 5:50
  • Create a sample Database "mydata"
  • Using pgAdmin - Create and modify a table 5:36
  • Using pgAdmin - View table structure, and create column 5:28
  • Using pgAdmin - Rename, delete and change the data type of a column 6:44
  • Deleting tables from a database 2:48
Chương 4 Modifying Data in the tables
  • Insert a data into table 4:46
  • Insert multiple records into a table 2:35
  • Insert a data that had quotes 2:00
  • Use RETURNING to get info on added rows 2:51
  • Update data in a table 3:25
  • Updating a row and returning the updated row 2:13
  • Updating all records in a table 3:10
  • Delete data from a table 3:07
  • Using UPSERT 9:59
Chương 5 Querying Data
  • Select all data from a table 6:31
  • Selecting specific columns from a table 3:43
  • Adding Aliases to columns in a table 9:23
  • Using SELECT statement for expressions 3:15
  • Using ORDER BY to sort records 7:54
  • Using ORDER BY with alias column name 3:14
  • Using ORDER BY to sort rows by expressions 3:08
  • Using ORDER BY with column name or column number 3:19
  • Using ORDER BY with NULL values 5:53
  • Using DISTINCT for selecting distinct values 5:27
Chương 6 Filtering Data
  • Comparison, Logical and Arithmetic operators 2:18
  • AND operator 7:26
  • OR operator 3:23
  • Combining AND, OR operators 4:43
  • What goes before and after WHERE clause 2:48
  • Execution order with AND, OR operators 1:53
  • Can we use column aliases with WHERE? 2:20
  • Order of execution of WHERE, SELECT and ORDER BY clauses 1:33
  • Using Logical operators 16:15
  • Using LIMIT and OFFSET 16:51
  • Using FETCH 9:46
  • Using IN, NOT IN 10:14
  • Using BETWEEN and NOT BETWEEN 11:31
  • Using LIKE and ILIKE 17:18
  • Using IS NULL and IS NOT NULL keywords 12:36
  • Concatenation techniques 8:20
  • Concatenation with ||, CONCAT and CONCAT_WS 4:35
Chương 7 PostgreSQL Data types
  • Boolean 13:14
  • CHAR, VARCHAR and TEXT 18:19
  • NUMERIC 10:14
  • DECIMALS 9:53
  • Selecting Numbers data types 5:51
  • Date/Time data types 3:42
  • DATE 6:19
  • TIME 14:57
  • TIMESTAMP and TIMESTAMPTZ 12:49
  • UUID 11:38
  • Array 7:07
  • Hstore 8:00
  • JSON 12:29
  • Network Addresses 13:59
Chương 8 Modifying Table Structures, Add constraints
  • Creating sample database 'mydata', adding columns 4:38
  • Modify Table Structures, Add/Modify Columns 8:59
  • Add constraints to columns 10:27
Chương 9 Data type conversions
  • What is a data type conversion 5:46
  • Using CAST for data conversions 11:33
  • Implicit to Explicit conversions 4:12
  • Table data conversion 7:15
Chương 10 Conversion Functions
  • To_char 8:06
  • To_number 5:18
  • To_date 5:33
  • To_timestamp 4:47
Chương 11 User-defined Data Types
  • CREATE DOMAIN - Create a DOMAIN data type, create an address 6:45
  • CREATE DOMAIN - Create a data type for a positive number 2:16
  • CREATE DOMAIN - Create a postal code validation data type 2:59
  • CREATE DOMAIN - Create a domain data type for an email validation 3:45
  • CREATE DOMAIN - Create a Enum or Set of values domain data type 4:35
  • CREATE DOMAIN - Get the list of all DOMAIN data types 2:17
  • CREATE DOMAIN - How to drop a domain data type 4:44
  • CREATE TYPE - Create a composite address object 6:44
  • CREATE TYPE - Create a composite inventory_item data type 4:33
  • CREATE TYPE - Create an ENUM data type and see how to drop a data type 4:33
  • ALTER TYPE - Alter a composite data type, change schema and more.. 4:17
  • ALTER TYPE - Alter an ENUM data type 3:22
  • Update an ENUM data in production server 8:13
  • An ENUM with a DEFAULT value in a table 3:39
  • Create a type if not exists using a PL/pgSQL function 1:59
Chương 12 Explore PostgreSQL Constraints
  • Introduction to constraints 4:16
  • NOT NULL constraint 11:29
  • UNIQUE constraint 15:17
  • DEFAULT constraint 5:33
  • PRIMARY KEY Constraints 21:44
  • PRIMARY KEY Constraints on multiple columns 13:48
  • FOREIGN KEY Constraints 6:12
  • Tables without foreign key constraints 7:42
  • Creating foreign key constraints 7:49
  • Foreign keys maintains referential data integrity 7:43
  • Drop a constraint 2:13
  • Add or update foreign key constraint on existing table 3:05
  • CHECK constraint - An Introduction 1:32
  • CHECK constraint - Add to new table 10:12
  • CHECK constraint - Add, Rename, Drop on existing table 10:33
Chương 13 PostgreSQL Sequences
  • Create a sequence, advance a sequence, get current value, set value 7:20
  • Restart, rename a sequence, and use pgAdmin to alter a sequence 4:17
  • Create a sequence with START WITH, INCREMENT, MINVALUE and MAXVALUE 3:16
  • Create a sequence using a specific data type 2:42
  • Creating a descending sequence, and CYCLE sequence 4:43
  • Delete a sequence 1:28
  • Attach a sequence to a table column 8:53
  • List all sequences in a database 1:26
  • Share one sequence between two tables 4:15
  • Create an alphanumeric sequence 7:50
Chương 14 String Functions
  • UPPER, LOWER and INITCAP 4:37
  • LEFT and RIGHT 8:07
  • REVERSE 2:07
  • SPLIT_PART 6:21
  • TRIM, BTRIM, LTRIM and RTRIM 6:38
  • LPAD and RPAD 5:53
  • LENGTH 3:52
  • POSITION 3:19
  • STRPOS 4:55
  • SUBSTRING 3:51
  • REPEAT 2:28
  • REPLACE 4:09
Chương 15 Aggregate functions
  • Counting results via COUNT function 7:34
  • COUNT(), COUNT(*) and COUNT(1)
  • Sum with SUM function 9:12
  • MIN and MAX functions 13:32
  • GREATEST AND LEAST functions 5:08
  • GREATEST vs. MAX()
  • Average with AVG function 12:52
  • Combining Columns using Mathematical operators 11:06
Chương 16 Using DATE/TIME functions
  • Datetimes data types 9:38
  • System Month Date settings 3:07
  • Time of day formats and inputs 6:09
  • Strings to Dates conversions 11:18
  • Using TO_TIMESTAMP function 9:43
  • Formatting Dates 10:33
  • Date construction functions 6:27
  • Using MAKE_INTERVAL function 6:34
  • Using MAKE_TIMESTAMPTZ function 9:36
  • Date Value Extractors functions 5:55
  • Using math operators with dates 9:24
  • OVERLAPS Operator 4:02
  • Date / Time Functions 5:01
  • PostgreSQL Date / Time Functions 4:23
  • AGE function 3:37
  • CURRENT_DATE function 1:17
  • CURRENT_TIME function 3:51
  • Date accuracy with EPOCH 7:02
  • Using Date, time, timestamp in tables 8:14
  • View and set timezones 3:29
  • How to handle timezones 10:42
  • Date_part function 10:43
  • Date_trunc function 8:57
Chương 17 Grouping Data
  • Using GROUP BY 11:54
  • Using GROUP BY with multiple columns, ORDER BY 14:45
  • Order of execution in GROUP BY clause 1:33
  • Using HAVING 11:37
  • Order of execution in HAVING clause 1:06
  • HAVING vs WHERE 5:39
  • Handling NULL values with GROUP BY 10:09
Chương 18 Joining Multiple Tables
  • INNER joins 20:18
  • INNER joins with USING 8:54
  • INNER joins with filter data Part 1 10:18
  • INNER joins with filter data Part 2 3:58
  • INNER joins with filter data Part 3 5:28
  • INNER joins with different data type columns 5:11
  • LEFT joins Part 1 9:33
  • LEFT joins Part 2 7:27
  • LEFT joins Part 3 8:01
  • LEFT joins Part 4 5:49
  • RIGHT joins 9:43
  • RIGHT joins Part 2 3:13
  • FULL Joins 5:03
  • Joining multiple tables 9:04
  • Self Joins Part 1 8:29
  • Self Joins Part 2 2:58
  • CROSS Joins 10:34
  • Natural Joins Part 1 5:23
  • Natural Joins Part 2 2:14
  • Append tables with different columns 13:42
  • ON versus WHERE
Chương 19 Combining queries together
  • Combine results sets with UNION 11:05
  • UNION with filters and conditions 10:26
  • UNION tables with different number of columns 3:28
  • INTERSECT with tables 4:26
  • EXCEPT with tables 5:48
Chương 20 PostgreSQL Schemas
  • What is a Schema? 6:08
  • Schema Operations (Add/Alter/Delete schemas) 7:24
  • Schema Hierarchy 6:21
  • Move a table to a new schema 2:53
  • Schema search path 14:10
  • Alter a schema ownership 2:07
  • Duplicate a schema along with all data 6:19
  • What is a system catalog schema? 5:20
  • Compare tables and columns in two schemas 7:40
  • Schemas and Privileges 6:29
Chương 21 Exploring array functions
  • Constructing arrays and ranges 7:21
  • Using comparison operators 7:43
  • Using inclusion operators 4:16
  • Array constructions 5:14
  • Array metadata functions 8:41
  • Array search functions 6:32
  • Array modification functions 6:46
  • Array comparison with IN, ALL, ANY and SOME 13:02
  • Formatting and converting an array 9:03
  • Using arrays in tables 4:33
  • Insert data into arrays 5:50
  • Query array data 7:09
  • Modifying array data 3:07
  • Array Dimensions are ignored! 4:11
  • Display all array elements 3:52
  • Using Multi-dimensional arrays 10:37
  • Array vs JSONB 14:03
  • Single and Multi-dimensional arrays
Chương 22 JSON with PostgreSQL
  • What is JSON? 4:21
  • JSON Syntax 9:06
  • JSON and JSONB data types 4:09
  • Exploring JSON objects 6:30
  • Create our first table with JSONB data type 7:48
  • Update and Delete JSON Data 12:46
  • Create JSON from tables 5:04
  • Use json_agg to aggregate data 5:23
  • Build a JSON array 4:39
  • Creating a document from data 6:16
  • Null Values in JSON documents 5:04
  • JSON nulls and SQL nulls
  • Getting information from JSON documents 6:25
  • The Existence Operator 2:54
  • The Containment Operator 4:06
  • JSON search with PostgreSQL functions 4:08
  • Indexing on JSONB 11:28
Chương 23 Indexes and Performance Optimization
  • What is an index? 3:56
  • Create an index 15:47
  • Create unique indexes 11:10
  • List all indexes 4:17
  • Size of the table index 5:18
  • List counts of all indexes 4:33
  • Drop a index 3:34
  • SQL Statement execution process 4:34
  • SQL statement execution stages 6:35
  • The query optimizer 9:30
  • Optimizer node types 5:49
  • Sequential Nodes 6:23
  • Index Nodes 7:51
  • Join Nodes 6:46
  • Index Types - B-Tree Index 4:47
  • Hash Index 4:44
  • BRIN index 2:22
  • GIN Index 1:55
  • The EXPLAIN statement 14:31
  • EXPLAIN output options 2:55
  • Using EXPLAIN ANALYZE 9:10
  • Understanding query cost model 13:44
  • Index are not free 12:03
  • Indexes for sorted output 8:51
  • Using multiple indexes on a single query 7:51
  • Execution plans depends on input values 7:02
  • Using organized vs random data 20:10
  • Try to use index only scan 4:07
  • Partial indexes 11:07
  • Expression Index 16:25
  • Adding data while indexing 3:10
  • Invalidating an index 7:54
  • Rebuilding an index 7:09
Chương 24 All about Views
  • Introduction to views 7:20
  • Creating a view 10:52
  • Rename a view 4:28
  • Delete a view 1:54
  • Using filters with views 7:08
  • A view with UNION of multiple tables 4:08
  • Connecting multiple tables with a single view 7:17
  • Re-arrange columns in a view 3:00
  • Delete a column in a view 1:51
  • Add a column in a view 2:18
  • Regular views are dynamic 2:36
  • What is an updatable view? 3:54
  • An updatable view with CRUD operations 5:27
  • Updatable views using WITH CHECK OPTION 7:53
  • Updatable views using WITH LOCAL and CASCADED CHECK OPTION 9:27
  • What is a Materialized View 9:29
  • Creating a materialized view 4:40
  • Drop a materialized view 3:19
  • Changing materialized view data 6:40
  • How to check if a materialized view is populated or not? 2:45
  • Refreshing data in materialize views 6:34
  • Why not use a table instead of materialized view? 4:15
  • The downsides of using materialized views 3:24
  • Using materialized view for websites page analysis 11:24
  • List all materialized views by a SELECT statement 1:33
  • List materialized views with no unique index 3:48
  • Quick queries for materialized views
Chương 25 Fun with subqueries
  • Introduction to subqueries
  • Subqueries with WHERE Clause 13:08
  • Subquery with IN operator 4:49
  • Subquery with JOINs 8:37
  • Get total revenues for all 'English' films.
  • Order entries in UNION without using ORDER BY 4:12
  • Subquery with an alias 1:23
  • A SELECT without a FROM 2:41
  • Correlated Queries 11:58
  • SELECT.. IN (Subquery) 7:03
  • Using ANY with subquery 7:44
  • Using ALL with subquery 8:15
  • Subquery using EXISTS 4:51
Chương 26 Common Table Expressions (CTE)
  • Introduction to CTEs 5:44
  • CTE query examples 15:44
  • Combine CTE with a table 6:59
  • Get the total revenues for each director
  • Simultaneously DELETE INSERT via CTE 8:17
  • Recursive CTEs 4:45
  • Parent-child relationship via recursive CTE 19:47
Chương 27 Grouping sets
  • Introduction to summarization 3:31
  • Subtotals on group sets 11:59
  • Adding subtotal with ROLLUP 7:33
  • Using GROUPING with ROLLUP 13:54
Chương 28 Window Functions
  • Introduction to Window Functions 3:35
  • Analyze Global Trades Data 8:21
  • Using aggregate functions 9:00
  • GROUP BY ROLLUP 5:24
  • ROLLUP - Grouping multiple columns 4:09
  • GROUP BY CUBE 5:05
  • GROUP BY GROUPING SETS 3:36
  • Query performance check 5:07
  • Using FILTER clause 5:26
  • Using Window Functions 4:43
  • Partitioning the data 4:37
  • Set data into millions format 2:44
  • Ordering inside window 8:18
  • Sliding dynamic windows 8:05
  • Understanding window frames 21:39
  • ROWS and RANGE indicators 10:59
  • Using WINDOW 8:42
  • Using WINDOW with ROWS BETWEEN 3:21
  • RANK and DENSE_RANK functions 5:00
  • NTILE function 9:00
  • LEAD and LAG functions 14:23
  • FIRST_VALUE, LAST_VALUE and NTH_value functions 14:27
  • ROW_NUMBER function 9:56
  • Finding Correlations 5:51
  • ROW_NUMBER() - Window with Partition datasets 9:45
  • ROW_NUMBER() - Reverse fields with order by 2:23
  • ROW_NUMBER() - Find Nth record 3:16
  • ROW_NUMBER() - Find DISTINCT with subquery 5:00
  • ROW_NUMBER() - Pagination technique 6:28
  • Using OVER() to calculate percentage 6:00
  • Calculate difference compared to average 5:50
  • Calculating cumulative totals 5:08
  • Using LEAD to compare with next values 5:36
  • Comparing with least number 9:33
  • Window Function Summary 4:23
  • Planning tips on using Window Functions 6:51
  • Difference between RANK and DENSE_RANK 3:00
  • Getting RANK to compute group and global ranks 4:58
  • Using PARTITION BY for group averages 6:21
  • Using WITH clause to create your own data 4:15
  • Using WITH clause to set ORDER BY values 6:39
  • DELETE and INSERT in one query using WITH 5:21
Chương 29 Using regular expressions for text patterns
  • Text to structured data 6:18
  • Regular expressions notations table 9:00
  • SIMILAR TO operator 6:42
  • POSIX regular expressions 4:56
  • SUBSTRING with regular expressions 17:53
  • REGEXP_MATCHES Function 9:52
  • REGEXP_REPLACE Function 8:00
  • REGEXP_SPLIT_TO_TABLE Function 1:29
  • REGEXP_SPLIT_TO_ARRAY function 2:44
Chương 30 Powerful text searches in PostgreSQL
  • The Good Ol' Text Search 9:07
  • Introducing tsvector 11:37
  • Using tsquery with operators 15:45
  • Full text search within a table 14:38
  • Setup presidents speeches data 7:40
  • Analyzing presidents speeches text data 7:43
  • Ranking and Normalizing text results 5:32
Chương 31 Table Partitions
  • What is a partition 5:48
  • When a partition can be used? 18:24
  • Table inheritance 16:11
  • Partition types 2:40
  • Partition by Range 19:21
  • Partition by List 23:31
  • Partition by Hash 13:57
  • DEFAULT Partition 6:45
  • Multi-level partitioning 13:55
  • Partition maintenance 5:06
  • ALTERing the partition bounds 9:22
  • Partition Indexes 7:11
  • Partition pruning 3:58
  • Determining a field for partition over 7:42
  • Sizing the partition 5:56
  • Partitioning Advantages 4:54
  • Common partitioning mistakes 4:42
Chương 32 Server Programming
  • PostgreSQL as a development platform? 9:47
  • Procedural languages 5:19
  • Keep the data on the server! 5:47
  • Functions vs stored procedures 3:52
  • User-defined functions 3:30
  • Structure of a function 2:35
Chương 33 Functions with SQL language
  • Creating our first SQL function 10:01
  • Introducing dollar quoting 3:45
  • Function returning no values 5:06
  • Function returning a single value 12:23
  • Function returning a single value Part 2 5:37
  • Function returning a single value Part 3 3:42
  • Function using parameters 14:03
  • Function using parameters Part 2 5:20
  • Function using parameters Part 3 14:42
  • Function using parameters Part 4 13:18
  • Function returning a composite 13:09
  • Function returning multiple rows 10:21
  • Function returning a table 2:54
  • Function - order matters! 3:09
  • Function as a table source 10:37
  • Function parameter modes 3:09
  • Function parameters with default values 11:19
  • Function based on views 6:56
  • Drop a function 4:18
Chương 34 Functions with PL/pgSQL language
  • Introduction to PL/pgSQL language 2:09
  • PL/pgSQL vs SQL 2:40
  • Structure of a PL/pgSQL function 5:14
  • PL/pgSQL block structure 2:18
  • Declaring variables 6:02
  • Declaring variables via ALIAS FOR 1:40
  • Declaring variables in function 5:39
  • Variable initializing timing 2:27
  • Copying data types 3:07
  • Assigning variables from query 10:02
  • Using IN, OUT without RETURNS 4:35
  • Variables in block and subblock 4:50
  • How to return query results 5:48
  • Control Structures - IF statement 9:06
  • Using IF with table data 6:05
  • CASE Statement 12:37
  • Searched CASE statement 12:11
  • LOOP statement 6:19
  • FOR Loops 5:49
  • FOR Loops iterate over result set 4:27
  • CONTINUE statement 5:19
  • FOREACH loop with arrays 4:07
  • WHILE loop 13:38
  • Using RETURN QUERY 11:36
  • Returning a table 4:37
  • Using RETURN NEXT 14:48
  • Error and exception handling 6:28
  • Exception - Too many rows 5:39
  • Using SQLSTATE codes for exception handling 4:19
  • Exception with data exception errors 7:21
Chương 35 Exploring Stored Procedures
  • Functions vs Stored Procedures 5:36
  • Create a transactions 8:15
  • Understanding the use of stored procedures 5:07
  • Returning a value 4:10
  • Drop a procedure 1:54
Chương 36 PostgreSQL Triggers
  • Introduction to triggers
  • What is a trigger 10:40
  • Types of triggers 2:34
  • Trigger table 2:54
  • Pros and Cons of triggers 10:43
  • Trigger key points 2:45
  • Steps to create a trigger 5:28
  • Data auditing with a trigger 11:40
  • Bind a function to a table with trigger 8:38
  • Modify data at INSERT event 11:56
  • View triggers variables 4:53
  • Disallow DELETE on a table 10:07
  • Disallow TRUNCATE on a table 5:16
  • Creating an audit trigger 20:42
  • Creating conditional triggers 15:05
  • Disallow data change on primary key 5:36
  • Use triggers very cautiously 3:30
  • What is an event trigger 1:50
  • Event triggers usage scenarios 3:21
  • Creating event triggers 4:36
  • Event trigger events and variables 4:25
  • Creating an audit event trigger 14:57
  • Prevent schema changes 8:52
  • Dropping a trigger 0:57
Chương 37 Using Cursors
  • Understanding row by row operations 6:40
  • Cursors and procedural languages 4:30
  • Steps to create a cursor 2:46
  • Creating a cursor 8:38
  • Opening a cursor 9:39
  • Using a cursor 6:33
  • Updating data 1:42
  • Closing a cursor 1:22
  • Creating a PL/PGSQL Cursor 10:31
  • Using a parametric cursor via function 14:03
Chương 38 Creating Crosstab Reports
  • What is a crosstab report 4:02
  • Installing the tablefunc extension 1:52
  • Creating a crosstab report - Student Rankings 14:37
  • Orders matters in crosstab reports 3:02
  • Pivoting with Rainfalls data 11:02
  • Pivoting rows and columns 4:02
  • Matrix report via a query 9:55
  • Aggregate over filter 5:48
  • Static to dynamic pivots 6:50
  • Dynamic pivot query via JSON 6:58
  • Dynamic pivot table columns 17:16
  • Interactive client-side pivot 6:05
  • Handling missing values 10:31
Chương 39 Internationalization
  • Global Character Set Support 10:14
  • Client and Server Encoding 11:54
Chương 40 PostgreSQL Transactions
  • What is a transaction? 8:35
  • How SQL protect database during transaction 5:20
  • ACID Database 8:40
  • Transaction setup 2:21
  • Transaction analysis 13:44
  • How to fix aborted transaction 3:44
  • How to fix transactions on crash 5:32
  • Partial transaction rollback with savepoints 3:36
  • Using SAVEPOINT with transaction 5:40
Chương 41 Using Northwind Database
  • Using Northwind database 1:11
  • Orders shipping to USA or France 2:08
  • Total numbers of orders shipped to USA or France 1:48
  • Orders shipped to latin america 3:21
  • Show total order amount for each order 4:01
  • First the oldest and latest order date 2:26
  • Total products in each categories 3:55
  • List products that needs re-ordering 3:41
  • Freight analysis 9:59
  • Customers with no orders 5:52
  • Top customers with total orders amount 4:57
  • Orders with many lines of ordered items 2:49
  • Orders with double entry line items 10:16
  • Late shipped orders by employees 10:52
  • Countries with customers or suppliers 2:50
  • Countries with customers or suppliers - Using CTE 6:15
  • Customers with multiple orders 7:21
  • First order from each country 7:48
Chương 42 Using Human Resource (hr) database
  • Human Resources Database Structure 3:14
  • Quick overview of all tables 5:31
  • Quick overview of all tables Part 2 3:20
  • Get highest, lowest, total, and average salaries of employees 3:49
  • Difference b/w highest and lowest salaries by job_id 1:25
  • Get lowest paid salaries by each manager 2:15
  • Average salary for each department with more than 10 employees. 2:36
  • Average salary for each post excluding programmer 1:59
  • Maximum salary for each post where salary is at or above $5000 2:28
  • Using an alias name with columns 1:40
  • Compute 15% of salary for all employees 2:52
  • To list all employees IDs within each job_id group 1:22
  • Discard characters from employees email address 5:42
  • List all employees with first_name starts with letters "A", "C" or "M" 3:12
  • String manipulation with upper, lower and initcap functions 2:05
  • Using SUBSTRING to get portion of string data 0:52
  • Get unique designations in employees table 2:09
  • Select employees with particular department id only 2:15
  • Select employees not in range 3:21
  • Find Letter "C" in last_name at 3rd or greater position 2:36
  • Update phone_number with your strings 2:57
  • Get the monthly salary of each employees 2:11
  • Calculate average salary with total number of employees 1:51
  • Find employees whose names contains exactly six characters 2:29
Chương 43 Exploring Stock Markets Data
  • Introduction To stock market data
  • Select first or last records in a table 3:49
  • Get first or last record per each group 4:16
  • How to calculate cube root in PostgreSQL? 1:55
Chương 44 Managing PostgreSQL security
  • Security concepts and and levels 4:18
  • Instance Level Security 5:37
  • Instance Level Security - Add users to roles 4:30
  • Use pgAdmin to create roles 4:06
  • Database Level Security 5:33
  • Schema Level Security 11:13
  • Table Level Security 11:04
  • Column Level Security 8:32
  • Row Level Security 14:52
  • Using CURRENT_USER with RLS 6:14
  • Row level policy for application users 5:03
  • DROP a policy 2:21
  • Inspecting permissions 2:50
  • Row Level Security Performance 4:16
  • Encrypted data in columns 7:19
Chương 45 PostgreSQL Utilities - psql
  • Connect to local or remote database 4:06
  • Switch connection to a new database 1:45
  • List all databases and tables 3:24
  • List all table space, schemas, and indices 3:32
  • List all sequences, roles, data types, domain data types 7:11
  • Describe a table 1:01
  • Edit SQL commands in editor 1:17
  • Display command history, run commands from a file 3:05
  • Built-in syntax reference for commands 1:05
  • Represent NULL values on psql terminal 3:50
  • Make table layout funkey! 2:10
  • Repeatedly Execute a Query 1:41
  • Represent NULL Visibly 3:50
  • Turn on query execution time 2:44
Chương 46 PostgreSQL Internals
  • List database users, and database sizes with and without indexes 4:10
  • List all database and schemas 4:20
  • List all tables and views 8:24
  • List all columns from a table 2:45
  • View system metadata via system information functions 2:33
  • View privileges information across tables 8:15
  • Using system Administration functions 5:24
  • Show all running queries 4:16
  • Terminate running and IDLE process 2:54
  • How to check live and dead rows in tables 1:49
  • File layout of PostgreSQL Tables 9:21
Chương 47 Managing Tables
  • Using SELECT INTO to create a new table with joins 12:06
  • Duplicate a table with or without data 3:08
  • Import data from CSV files 6:59
  • Export Data to CSV files 2:42
  • Deleting duplicate records 7:26
  • Backup your databases regularly
  • Test queries on a test database
  • Not documenting your process?
  • Database operations and table size 5:57
  • Tracking table size 7:26
  • PostgreSQL autovacuum proces 10:28
  • Recovering unused space with VACUUM 9:55
  • Generated Columns 10:44
Chương 48 Extended PostgreSQL
  • Create a custom index method 22:36
  • Create a user-defined aggregate function 10:56
Chương 49 Thank You!
  • Your feedback is very valuable
  • Upcoming course - Advanced Time Series Analysis
  • Bonus Courses
  • Thank You! 0:48

Requirment

  • No pre-knowledge is required: I'll teach you absolutely everything you need to know!

  • A computer is required, but any will do. A desktop or a laptop running Mac, Windows, or Linux

  • All the software used in the course is free, and I'll personally walk you through setting it all up

Outcomes

  • Learn with 60+ hours of hands-on practical exercises

  • Step-by-step walkthrough to perform simple to complex SQL queries

  • Subqueries, CTEs, Indexes, PL/SQL, PL/pgSQL, Triggers, Cursors, Partitions, Views, JSON, Window Functions, and much more

  • How to create a database from scratch

  • Creating and using various Data types

  • Creating User-defined data types

  • Table and Column constraints

  • Understanding, Using, and creating custom Sequences

  • String Functions

  • Aggregate Functions

  • Date/Time Functions with query analysis

  • Grouping data with group sets

  • Schemas creations and privileges

  • Table Partitioning techniques

  • Exploring Array Functions

  • In-depth JSON data types and queries

  • Subqueries

  • Common Table Expressions (CTEs)

  • Recursive Common Table Expressions

  • Advanced Window Functions

  • Server Programming

  • Functions with SQL Language

  • Functions with PL/pgSQL Language

  • Exploring Stored Procedures

  • Indexes and queries performance optimizations

  • Multiple Data Views types and Security

  • Using Regular Expressions for Text Patterns

  • Power Text Searches with special data types and indexes

  • Crosstab Reports with crosstab extensions

  • Making our database for global languages - Internationalization

  • psql Utility Commands

  • Understanding PostgreSQL Internals

  • Triggers

  • Using Cursors

  • Data integrity with Transactions and Savepoints

  • Managing PostgreSQL security

  • Extended PostgreSQL echosystem

  • Analyze sample HR, Stocks, Northwind, Global Trades databases

  • Practice with huge number of queries

  • Use SQL to perform data analysis

  • Confident putting SQL and PostgreSQL on your resume

Instructor

...
Adnan Waheed

0.0

  • ... 0 Student
  • ... 2 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all
Một sản phẩm của Công ty Cổ phần Thương mại Vạn Tín Việt·vantinviet.com