Skip to content

Commit 29cd309

Browse files
committed
Update README links, exercise structure, and remove sample solutions in SQL lesson notebooks.
1 parent d6ba89a commit 29cd309

5 files changed

+39
-300
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.ipynb_checkpoints/

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ This workshop does **not** cover the following:
3131

3232
SQL Fundamentals is a 2 hour workshop, and is delivered in a lecture-style coding walkthrough interrupted by challenge problems and a break. Instructors and TAs are dedicated to engaging you in the classroom and answering questions in plain language.
3333

34-
1. **Part 1: SQLite Installation**
35-
2. **Part 2: Simple SQLite Queries**
36-
3. **Part 3: Northwind Database Overview**
37-
4. **Part 4: Northwind SQLite Exercises**
34+
1. **[Part 1: SQLite Installation](SQLite-Setup.ipynb)**
35+
2. **[Part 2: Simple SQLite Queries](Simple-SQLite-Lesson.ipynb)**
36+
3. **[Part 3: Northwind Database Overview](SQL-Northwind-Lesson-Overview.ipynb)**
37+
4. **[Part 4: Northwind SQLite Exercises](SQL-Northwind-Lesson-Exercises.ipynb)**
3838

3939
## Installation Instructions
4040

SQL-Northwind-Lesson-Exercises.ipynb

+23-5
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
"🔔 **Question**: A quick question to help you understand what's going on.<br>\n",
2323
"🥊 **Challenge**: Interactive exercise. We'll work through these in the workshop!<br>\n",
2424
"💡 **Tip:** How to do something a bit more efficiently or effectively.<br>\n",
25-
"⚠️ **Warning:** Heads-up about tricky stuff or common mistakes.<br>"
25+
"⚠️ **Warning:** Heads-up about tricky stuff or common mistakes.<br>\n",
26+
"\n",
27+
"For the exercises below, you can find the [Solutions for Northwind SQLite Exercises here](SQL-Northwind-Lesson-Exercises.ipynb)."
2628
]
2729
},
2830
{
@@ -32,9 +34,25 @@
3234
"source": [
3335
"### Sections\n",
3436
"1. [Basic SELECT Queries](#ex1)\n",
35-
"2. [Diagram of Northwind Database Schema](#ex2)\n",
36-
"3. [Observations About the Schema](#ex3)\n",
37-
"4. [Primary Key (PK) vs. Foreign Key (FK)](#ex3)"
37+
"2. [Filtering Data with WHERE Clause](#ex2)\n",
38+
"3. [Sorting Data with ORDER BY](#ex3)\n",
39+
"4. [Joining Tables](#ex4)\n",
40+
"5. [Aggregate Functions and GROUP BY](#ex5)\n",
41+
"6. [Advanced Joins and Subqueries](#ex6)\n",
42+
"7. [Using Views](#ex7)\n",
43+
"8. [Modifying Data](#ex8)"
44+
]
45+
},
46+
{
47+
"cell_type": "markdown",
48+
"id": "15538170-3fb9-436f-8f6b-364c1f75ad79",
49+
"metadata": {},
50+
"source": [
51+
"## Prerequisite Setup\n",
52+
"\n",
53+
"To enable the `%%sql` Python Magic in the code cells below, run these two setup steps to:\n",
54+
"1. Load the SQL Jupyter Notebook extension\n",
55+
"2. Open the SQLite database to allow this notebook to access it."
3856
]
3957
},
4058
{
@@ -520,7 +538,7 @@
520538
"metadata": {},
521539
"source": [
522540
"<a id='ex7'></a>\n",
523-
"### Exercise 7: Using Views (Optional)\n",
541+
"### Exercise 7: Using Views\n",
524542
"\n",
525543
"**Objective:** Understand and create SQL views for recurring queries."
526544
]

0 commit comments

Comments
 (0)