-
Module 1: Introduction to querying MySQL
12 Lessons-
StartModule introduction
-
StartWhat is MySQL ?
-
StartWhat is SQL ?
-
StartTypes of SQL statements
-
StartWhat are databases?
-
StartWhat are database server instances ?
-
StartConnecting to MySQL
-
StartConnecting to popkornkraze with MySQL Workbench
-
StartWhat is the command line interface ?
-
StartFinding help and examples for MySQL syntax
-
StartLab 1: Introduction to querying MySQL
-
StartQuiz 1: Introduction to querying MySQL
-
-
Module 2: Querying a single table
16 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 LIMIT and OFFSET
-
StartRemoving duplicates with DISTINCT
-
StartQuerying literals, expressions and functions
-
StartLab 2: Querying a single table
-
StartLab 2: Answers
-
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
-
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
-
StartWorking with NULL values (the lack of data)
-
StartWhat are user-defined functions?
-
StartLab 3: Filtering the rows to return
-
StartLab 3: Answers
-
StartQuiz 3: Filtering the rows to return
-
-
Module 5: Querying numbers
10 Lessons -
Module 6: Querying strings
15 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
-
StartLab 6: Querying strings
-
StartLab 6: Answers
-
StartQuiz 6: Querying strings
-
-
Module 7: Querying dates and times
16 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 parts
-
StartCalculating beginning and end of month
-
StartConstructing dates and times from components
-
StartChanging time zone offsets
-
StartFormatting date and time values
-
StartLab 7: Querying dates and times
-
StartLab 7: Answers
-
StartQuiz 7: Querying dates and times
-
-
Module 8: Converting between data types
13 Lessons-
StartModule introduction
-
StartReplacing NULL values with COALESCE
-
StartReplacing NULl values with IFNULL
-
StartReturning NULL When Equal with NULLIF
-
StartComparing NULL values
-
StartImplicit vs explicit conversions
-
StartConverting data types with CAST
-
StartConverting data types with CONVERT
-
StartConverting character sets with CONVERT
-
StartOther common data types
-
StartLab 8: Converting between data types
-
StartLab 8: Answers
-
StartQuiz 8: Converting between data types
-
-
Module 9: Aggregating data
12 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
-
StartOther interesting aggregates
-
StartLab 9: Aggregating data
-
StartLab 9: Answers
-
StartQuiz 9: Aggregating data
-
-
Module 10: Implementing logic in scripts
13 Lessons-
StartModule introduction
-
StartOutputting messages with SIGNAL
-
StartUsing conditional expressions with CASE
-
StartUsing conditional expressions with IF
-
StartSimplifying conditionals with GREATEST, LEAST
-
StartDefining variables and assigning values
-
StartQuerying system functions
-
StartAdding conditional logic with IF, ELSE
-
StartCreating loops with WHILE
-
StartCreating loops with REPEAT
-
StartCreating loops with labelled loops
-
StartLab 10: Implementing logic in scripts
-
StartLab 10: Answers
-
-
Module 11: Querying multiple tables
14 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)
-
StartLab 11: Querying multiple tables
-
StartLab 11: Answers
-
StartQuiz 11: Querying multiple tables
-
-
Module 13: Using subqueries
12 Lessons-
StartModule introduction
-
StartUsing subqueries
-
StartUsing scalar subqueries
-
StartUsing lists from subqueries
-
StartChecking for existence with EXISTS subqueries
-
StartUsing set-returning subqueries
-
StartSimplifying queries with common table expressions (CTEs)
-
StartUsing multiple CTEs in a single query
-
StartUsing CTEs for lists of values
-
StartLab 13: Using subqueries
-
StartLab 13: Answers
-
StartQuiz 13: Using subqueries
-
-
Module 14: Working with stored procedures and catalog views
8 Lessons -
Module 15: Modifying data
17 Lessons-
StartModule introduction
-
StartInserting data into a table
-
StartInserting multiple rows at once with VALUES
-
StartWhat are default constraints ?
-
StartWhat are auto-increment 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
-
StartUpsert data into a table
-
StartLab 15: Modifying data
-
StartLab 15: Answers
-
StartQuiz 15: Modifying data
-
