Welcome to COOP Careers SQL Classes! You will find everything you need to follow along with the SQL content for the Data Analytics curriculum here.
Our classes can be broken down into two sections: Theory and Practice. The theory classes are crash courses on things you should know to understand how databases work, as well as how to use SQL. The practice classes are where you will get hands-on practice to develop your querying skills and complete your labs - it’s the main material that your captains will use to teach SQL 101 - 103.
Theory (Asynchronous)
SQL 101
.SQL 103A - Combining Data in SQL: How to use JOIN
and UNION
A primer on how to combine data horizontally (using JOIN
statements) and vertically (using UNION
). You can use this to learn how joins work and as a refresher before SQL interviews. Read this before you take SQL 103.
Prerequisite: You should have already gone through at least SQL 100 and SQL 101 before doing this.
Practice
CASE
statement to add search conditions to your queries, basic scalar functions, how to use subqueries and common table expressions (CTEs) for multi-step queries. With these techniques in your toolkit, you’ll be able to write queries that answer more complex questions that are more likely to come up on the job.joins
. You’ll learn the theory behind how joins work, the different methods of joining data, and when to use each one. After completing this course, you will be better prepared for entry-level SQL technical interview questions.For most students, the following path through these courses is recommended:
JOIN
and UNION
(~30 minutes to complete)The theory courses (1 & 4) will be assigned as pre-reading homework before the SQL 101 and 103 classes, respectively. You will work on SQL 101, 102, and 103 (2, 3, 5) with your captains in class. Then, you will have a week to solve the SQL Murder Mystery (6) independently.
The practice section of each course is built using Jupyter Notebooks - a rich, multi-media document that enables you to mix narrative writing with code. This allows us to include written instruction alongside an environment that allows you to execute SQL queries against a database.
You will be connected to an actual RDBMS in these notebooks and will run your queries inside of the notebook. Instructions on how to run your queries are included in the first section of each notebook. To open the notebooks, simply click the button next to each notebook.
If you have never heard of a Jupyter Notebook and don’t know how they work, we suggest you watch this video first.
SQL Cheatsheet
We also recommend this SQL Cheat Sheet to use as a companion to the notebooks and lessons. The cheat sheet was made with the lesson content in SQL 101, 102, and 103 in mind.
Click Here to access the Database Crash Course.
SQL 101 Slide Deck: Click Here
Topics Covered:
SELECT
)WHERE
/HAVING
)GROUP BY
, AVG
, COUNT
, SUM
)ORDER BY
)SQL 102 Slide Deck: Click Here
Topics Covered:
CASE
StatementsJOIN
and UNION
Click Here to access SQL 103A.
SQL 103 Slide Deck: Click Here
Topics Covered:
JOIN
s (INNER
, LEFT
, RIGHT
, FULL OUTER
)UNION
A murder happened in SQL City, and we need your SQL skills to help crack the case! Put the skills that you learned in SQL 101 - 103 to the test and solve the SQL Murder Mystery!
Topics Covered: