Instructor: Alexander Dekhtyar, dekhtyar@calpoly.edu, 14-212
Office Hours:
| Who | Where | |
Monday | 1:10pm - 2:00pm | Alex | 14-212 |
Tuesday | 10:10am - 11:00am | Alex | 14-212 |
Wednesday | 10:10am - 12: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 | [April 2, 2024] | |
Lab 1, Part 2 | Due: April 11 | Why databases? | Postscript | Lab Data | [April 4, 2024] | |
Lab 2 | Due: April 22 | SQL DDL, DML | Postscript | Lab Tests | [April 13, 2023] | |
Lab 3 | Due: May 7 | SQL DDL, DML + Python | Postscript | [April 23, 2024] | ||
Lab 4 | Due: May 21 | SQL SELECT | Postscript | [May 9, 2024] | ||
Lab 5 | Due: May 23 | SQL SELECT and Counting | Postscript | [May 18 , 2023] | ||
Lab 6 | Due: June 4 | Counting and grouping | Postscript | [May 23, 2024] | ||
Lab 7 | Due: June 10 | Complex SQL Queries | Postscript | [May 31, 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.
|
|
|
|
|
||||||||||||||||||||||||||
|
|
|
|
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 | [October 8, 2007] | |
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