-
Module 2: Querying a single table
14 Lessons-
StartModule introduction
-
StartWhat are tables?
-
StartFinding out what's in a table
-
StartWhat are schemas?
-
StartWhat is Popkorn Kraze ?
-
StartSELECT statements
-
StartUsing aliases for columns and tables
-
StartQuoting (delimiting) names
-
StartUsing 2-part names
-
StartORDER BY clause
-
StartRestricting output with OFFSET, FETCH and LIMIT
-
StartRemoving duplicates with DISTINCT
-
StartQuerying literals, expressions and functions
-
StartQuiz 2: Querying a single table
-
-
Module 3: Filtering the rows to return
12 Lessons-
StartModule introduction
-
StartFiltering output with the WHERE clause
-
StartFinding patterns with LIKE and ILIKE
-
StartLogical operations with AND, OR, and NOT
-
StartLogical values withe boolean data type
-
StartRanges of values with the BETWEEN operator
-
StartChecking lists of values by using the IN operator
-
StartLimiting output rows by using FETCH or LIMIT
-
StartUsing FETCH WITH TIES
-
StartWorking with NULL values (the lack of data)
-
StartWhat are user-defined functions?
-
StartQuiz 3: Filtering the rows to return
-
-
Module 6: Querying strings
14 Lessons-
StartModule introduction
-
StartString data types
-
StartLiteral string values
-
StartString operators
-
StartTrimming strings with LTRIM, RTRIM, and TRIM
-
StartChanging case with UPPER, LOWER
-
StartExtracting parts of strings with LEFT, RIGHT, SUBSTRING
-
StartDetermining the length of strings
-
StartReplace substrings
-
StartDuplicating strings with REPEAT
-
StartFinding substrings with POSITION
-
StartExtracting delimited string tokens
-
StartReplacing characters with TRANSLATE
-
StartQuiz 6: Querying strings
-
-
Module 7: Querying dates and times
14 Lessons-
StartModule introduction
-
StartDate and time data types
-
StartLiteral date and time values
-
StartCurrent date and time
-
StartExtracting components from date and time values
-
StartAdding and subtracting date and time values
-
StartCalculating date and time differences
-
StartCalculating ages
-
StartGet string names for date and time parts
-
StartCalculating beginning and end of month
-
StartConstructing dates and times from components
-
StartChanging time zone offsets
-
StartFormatting date and time values
-
StartQuiz 7: Querying dates and times
-
-
Module 8: Converting between data types
9 Lessons-
StartModule introduction
-
StartReplacing NULL values with COALESCE
-
StartReturning NULL When Equal with NULLIF
-
StartComparing NULL values using IS DISTINCT FROM
-
StartImplicit vs explicit conversions
-
StartConverting data types with CAST function
-
StartConverting data types with CAST operator
-
StartOther common data types
-
StartQuiz 8: Converting between data types
-
-
Module 9: Aggregating data
11 Lessons-
StartModule introduction
-
StartCounting rows and columns with COUNT
-
StartSummarizing data with SUM, AVG, MIN, MAX
-
StartSummarizing data in sections with GROUP BY
-
StartFiltering returned groups with HAVING
-
StartUnderstanding logical query execution order
-
StartNumbering rows with window functions
-
StartPartitioning ranking and numbering with PARTITION BY
-
StartRetrieving one row from each group with DISTINCT ON
-
StartOther interesting aggregates
-
StartQuiz 9: Aggregating data
-
-
Module 11: Querying multiple tables
12 Lessons-
StartModule introduction
-
StartUsing CROSS JOIN
-
StartWhat is a primary key?
-
StartWhat is a foreign key?
-
StartUsing INNER JOIN
-
StartUsing modern join syntax
-
StartUsing LEFT OUTER JOIN
-
StartOther OUTER join types
-
StartJoining more than two tables
-
StartJoining a table to itself (self join)
-
StartJoins without equality (non-equi joins)
-
StartQuiz 11: Querying multiple tables
-
-
Module 12: Applying set operations to tables
7 Lessons -
Module 13: Using subqueries
10 Lessons-
StartModule introduction
-
StartUsing subqueries
-
StartUsing scalar subqueries
-
StartUsing lists from subqueries
-
StartChecking for existence with EXISTS subqueries
-
StartUsing set-returning subqueries
-
StartUsing VALUES row constructors
-
StartSimplifying queries with common table expressions (CTEs)
-
StartUsing multiple CTEs in a single query
-
StartQuiz 13: Using subqueries
-
-
Module 15: Modifying data
15 Lessons-
StartModule introduction
-
StartInserting data into a table
-
StartInserting multiple rows at once with VALUES
-
StartWhat are default constraints?
-
StartWhat are identity columns?
-
StartIdentifying the last values inserted
-
StartWhat is a check constraint?
-
StartWhat is a unique constraint?
-
StartDeleting rows from a table
-
StartInserting rows with data from another table
-
StartSelecting rows into a new table
-
StartTruncating a table vs deleting all rows
-
StartUpdating data in a table
-
StartMerging data into a table
-
StartQuiz 15: Modifying data
-
