Jan 29: Running SQL in Python
Learning Objectives
After today's class, you should be able to:
- Explain the difference between a
Connectionand aCursor. - Write a Python program that executes SQL queries and updates.
Lesson Outline¶
Lecture Slides [40 min]
Lab Activity [35 min]
- Python DB-API (K-12 data)
- Submit on Gradescope today
Your To-Do List¶
- Python Refresher – review as needed
- Finish reading sections 1.4 and 1.5
- Start reading sections 1.6 and 1.7