Prepare for the data-driven future by learning how to manage relational databases with SQL.
Overview
Syllabus
Introduction
- The data-driven world
- What you should know
- Relational database theory
- The SQLite database engine
- WSDA Music (sample database)
- The DB Browser software
- How to install DB Browser
- Learning tips
- How to access the DB Browser for SQLite software
- Load the sample database file
- Getting familiar with a database
- The browse data area
- The query writing area
- Queries
- Query commenting
- Query composition
- Query composition best practices
- Column custom names
- Sorting query results
- Limiting query results
- Types of SQL operators
- Filter and analyze numeric data
- BETWEEN and IN operators
- Filter and analyze text data
- Search records without an exact match
- Filter and analyze using dates
- Filter records based on more than one condition
- Logical operator OR
- Brackets and order
- IF THEN logic with CASE
- Joins explained
- How tables share a relationship, part 1
- How tables share a relationship, part 2
- Simplifying JOINs
- Types of JOINs
- The INNER JOIN
- The LEFT JOIN
- The RIGHT JOIN
- Tables and Entity Relationship diagrams
- Joining many tables
- Calculating with functions
- String, date, and aggregate function types
- Connecting strings
- Separating text
- UPPER and LOWER string functions
- Date functions
- Aggregate functions
- Nesting functions
- Grouping your query results
- Filtering with a grouped condition
- Grouping with the WHERE clause
- Grouping with the HAVING clause
- Grouping with the WHERE and HAVING clause
- Grouping by many fields
- Subqueries and aggregate functions
- SELECT clause subquery
- Aggregated subqueries
- Non-aggregate subqueries
- IN clause subquery
- DISTINCT clause subquery
- View introduction
- Creating a view
- Editing a view
- Joining views
- Deleting views
- Analysis and administration
- Inserting data
- Updating data
- Deleting data
- Preparing for a Non-Technical Interview
- Non-Technical Interview Practice
- Next steps and tips
Taught by
Bill Weinman