Instructor: Alexander Dekhtyar, dekhtyar@csc.calpoly.edu, 14-215
Office Hours:
| Who | Where | |
Monday | Alex | 14-209 | |
Tuesday | 3:00pm - 4:00pm | Alex | 14-209 |
Wednsday | 9:00am - 12:00pm | Alex | 14-209 |
Thursday | 3:00pm - 4:00pm | Alex | 14-209 |
Additional appoinments: send email.
Final Exam Date: Tuesday, June 10, 2008, 1:10pm
Syllabus | Postscript | ||
Lab 1, Part 1 | Due: April 8 | Why databases? | Postscript | ||
Lab 1, Part 2 | Due: April 15 | Why databases? | Postscript | ||
Lab 2 | Due: April 17 | SQL DDL, DML | Postscript | ||
Lab 3 | Due: April 29 | SQL DDL, DML | Postscript | ||
Lab 4 | Due: May 6 | Simple SQL Queries | Postscript | ||
Lab 5 | Due: May 15 | Counting with SQL | Postscript | ||
Lab 6 | Due: May 22 | Complex SQL Queries | Postscript | ||
Lab 7 | Due: June 3 | JDBC | Postscript | ||
Lab 7 | Due: June 6 | PL/SQL | Postscript |
Lab Data
Lab 1: Part 1 | students.txt | [April 1, 2008] | |
Lab 1: Part 2 | teachers.txt | teachers.txt | [April 8, 2008] |
Lab Tests
JDBCTest.java
classes12.jar (JDBC driver)
PL/SQL examples
example1.sql | Inserts a row into table | [November 13, 2007] |
example2.sql | Simple use of cursor | [November 13, 2007] |
example4.sql | Cursor + loop | [November 13, 2007] |
example5.sql | for-loop for cursors | [November 13, 2007] |
example3.sql | paremeterized cursor | [November 13, 2007] |
example10.sql | Stored procedure: insert a row into table | [May 29, 2008] |
example11.sql | anonymous block that uses example10 procedure | [May 29, 2008] |
example12.sql | stored function: max price for given food type | [May 29, 2008] |
pack.sql | Package | [June 3, 2008] |
example15.sql | using the package | [June 3, 2008] |
|
|
|
|
|||||||||||||||||||||
|
|
Homework 1 | Due: May 1 | Postscript | [April 24, 2008] |
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 | [September 16, 2007] | |
Lecture 5 | Oracle's SQL*Plus client | Postscript | [September 16, 2007] | |
Lecture 6 | Relational Algebra | Postscript | [October 3, 2007] | |
Lecture 7 | SQL DATE type and built-in functions | Postscript | [October 8, 2007] | |
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 | PL/SQL: Part 1 | Postscript | [November 8, 2007] | |
Lecture 14 | PL/SQL: Part 2 | Postscript | [November 13, 2007] | |
Lecture 15 | PL/SQL: Part 3 | Postscript | [November 20, 2007] |
SQL-92
Oracle
General Database Resources