Instructor: Alexander Dekhtyar, dekhtyar@calpoly.edu, 14-210
Office Hours:
| Who | Where | |
Wednesday | 8:10am - 10:00am | Alex | 14-210 |
Friday | 8:10pm - 10:00am | Alex | 14-210 |
Additional appoinments: send email.
Syllabus | Postscript | ||
my.cnf template | my.cnf |
Lab 1, Part 1 | Due: April 10 | Why databases? | Postscript | Lab Data | [April 4, 2017] | |
Lab 1, Part 2 | Due: April 10 | Why databases? | Postscript | Lab Data | [April 6, 2017] | |
Lab 2 | Due: April 14/April 17 | SQL DDL, DML | Postscript | [April 11, 2017] | ||
Lab 3-1 | Due: April 21 | SQL DDL, DML | Postscript | [April 21, 2017] | ||
Lab 3-2 | Due: April 28 | SQL DDL, DML | Postscript | [April 21, 2017] | ||
Lab 4 | Due: May 12 | SQL SELECT | Postscript | [May 2, 2017] | ||
Lab 5 | Due: May 19 | SQL SELECT and Counting | Postscript | [May 15, 2017] | ||
Lab 6 | Due: May 26 (May 28) | Counting and grouping | Postscript | [May 22, 2017] | ||
Lab 7 | Due: June 5 | Complex SQL Queries | Postscript | [May 26, 2017] | ||
Lab 8 | Due: June 14 | JDBC Application | Postscript | [November 28, 2016] |
oracle2mysql.py: DATE/TIME conversion functions from Oracle to MySQL
convertdate.py: sample test script for oracle2mysql.py
functions.
JDBCTestMysql1.java
mysql Connector/J driver
ojdbc14.jar (Oracle JDBC driver)
|
|
|
|
|
||||||||||||||||||||||||||
|
|
|
|
Date | Logs | Contents |
May 31 | May31.out | JOIN syntax, set difference, intersection |
May 24 | May24.out | Nested Queries |
May 22 | May22.out | Nested Queries |
May 19 | May19.out | GROUP BY |
May 17 | May17.out | GROUP BY |
May 15 | May15.out | GROUP BY and UNION |
May 10 | May12.out | Aggregations |
May 8 | May8.out | SELECT |
May 5 | May5.out | SELECT and relational algebra |
April 21 | April21.out | UPDATE, ALTER TABLE |
April 19 | April19.out | ALTER TABLE, DELETE, UPDATE |
April 17 | April17.out | INSERT, this did not work out well |
April 14 | April14.out | CREATE TABLE, INSERT, DROP TABLE |
April 12 | April12.out | Intro to CREATE TABLE |
Homework 1 | Due: May 8/May 10, 2017 | Postscript | [April 26, 2017] |
Lecture 1 | Why Databases ? | Postscript | [September 14, 2007] | |
Lecture 2 | Databases in a Nutshell | Postscript | [September 16, 2007] | |
Lecture 3 | Relational Database Model | Postscript | [September 20, 2007] | |
Lecture 4 | SQL DDL and DML | Postscript | [January 13, 2015] | |
Lecture 5 | Work with MySQL: Part 1 | Postscript | [January 13, 2015] | |
Lecture 5-1 | Work with MySQL: Part 2 | Postscript | [January 15, 2015] | |
Lecture 6 | Relational Algebra | Postscript | [October 3, 2007] | |
Lecture 7 | MySQL data and time types and built-in functions | Postscript | [February 10, 2015] | |
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] |
SQL-92
Oracle
General Database Resources