Instructor: Alexander Dekhtyar, dekhtyar@calpoly.edu, 14-212
Office Hours:
| Who | Where | |
Tuesday | 5:00pm - 6:00pm | Alex | 14-212 |
Wednesday | 9:10am - 11:00pm | Alex | 14-212 |
Tuesday | 5:00pm - 6:00pm | Alex | 14-212 |
Additional appoinments: send email.
Syllabus | Postscript | ||
MySQL access: | LabThreeSixFive.com | Note: use your Cal Poly id as account name. passwords were distributed to you. | |
CSSE Jupyter Labs Server | https://dev2.csc.calpoly.edu:5000 | Use your CSL login credentials. | |
my.cnf template | my.cnf | ||
DBMS IDEs | DataGrip | MySQL Workbench | |
MySQL command-line client | MySQL version | MariaDB version | |
Python MySQL examples | mysqlTest.py | msqt.py | template |
Python MySQL Jupyter Lab example | DBConnection.ipynb | DBConnection.ipynb | |
Python MySQL/Connector Documentation | Examples | API Reference |
Lab 1, Part 1 | Due: April 9 | Why databases? | Postscript | Lab Data | [September 23, 2024] | |
Lab 1, Part 2 | Due: October 8 | Why databases? | Postscript | Lab Data | [October 1, 2024] | |
Lab 2 | Due: April 22 | SQL DDL, DML | Postscript | Lab Tests | [October 8, 2024] | |
Lab 3-1 | Due: October 17 | SQL DDL, DML | Postscript | [October 17, 2024] | ||
Lab 3-2 | Due: October 24 | Python + SQL DDL, DML | Postscript | [October 22, 2023] | ||
Lab 4-1 | Due: October 29 | SQL SELECT | Postscript | [October 24, 2024] | ||
Lab 4-2 | Due: November 5 | SQL SELECT | Postscript | [October 29, 2024] | ||
Lab 5 | Due: November 14 | SQL SELECT and Counting | Postscript | [November 4 , 2024] | ||
Lab 6 | Due: November 21 | Counting and grouping | Postscript | [November 17, 2024] | ||
Lab 7 | Due: December 10 | Complex SQL Queries | Postscript | [November 21, 2024] |
oracle2mysql.py: DATE/TIME conversion functions from Oracle to MySQL
convertdate.py: sample test script for oracle2mysql.py
functions.
datasets-CSV.tar.gz - get all the data in a single file.
|
|
|
|
|
||||||||||||||||||||||||||
|
|
|
|
Homework 1 | Due: October 29, 2024 | Postscript | [October 17, 2024] | ||
Homework 2 (Midterm Study Guide) | Due: December 5, 2024 | Postscript | [November 21, 2024] |
Lecture 1 | Why Databases ? | Postscript | [September 14, 2007] | |
Lecture 2 | Databases in a Nutshell | Postscript | [September 16, 2007] | |
Lecture 3 | Relational Database Model | Postscript | [April 11, 2023] | |
Lecture 4 | SQL DDL and DML | Postscript | [April 11, 2023] | |
Lecture 5 | Work with MySQL | Postscript | [January 19, 2022] | |
Lecture 6 | Relational Algebra | Postscript | [October 3, 2007] | |
Lecture 7 | MySQL date and time types and built-in functions | Postscript | [April 20, 2023] | |
Lecture 8 | SQL SELECT | Postscript | [Pctober 24, 2024] | |
Lecture 9 | SQL: Aggregation Operators | Postscript | [October 23, 2007] | |
Lecture 10 | SQL: GROUP BY and HAVING clauses | Postscript | [October 25, 2007] | |
Lecture 10: Example | GROUP BY and HAVING clauses | Postscript | [October 29, 2007] | |
Lecture 11 | SQL: Nested Queries | Postscript | [October 29, 2007] | |
Lecture 12 | JDBC | Postscript | [November 5, 2007] | |
Lecture 13 | JOIN syntax, Outer Joins | Postscript | [November 20, 2012] | |
Lecture 14 | Database Views | Postscript | [November 28, 2016] | |
Lecture 15 | Python Connectivity | Postscript | [March 10, 2022] | |
Lecture 16 | Additional MySQL Syntax (WITH, IF(), CASE) | Postscript | [June 1, 2023] |
SQL-92
Oracle
General Database Resources