230 likes | 369 Views
CMPT 258 Database Systems. Instructor: Tina Tian. General Information. Email: tina.tian@manhattan.edu Office: RLC 203A Office Hour: Mon, Thur 1:30 - 2:30PM Wednesday 12:00 - 1:00PM or by appointment Website: home.manhattan.edu/~ tina.tian. About the Course.
E N D
CMPT 258 Database Systems Instructor: Tina Tian
General Information • Email: tina.tian@manhattan.edu • Office: RLC 203A • Office Hour: Mon, Thur 1:30 - 2:30PM • Wednesday 12:00 - 1:00PM • or by appointment • Website: home.manhattan.edu/~tina.tian
About the Course • Mon, Wed, Thur 11:00 - 11:50 • Textbook: • Database Management Systems, 3rdEdition by Raghu Ramakrishnan and Johannes Gehrke
Grading • Class performance and participation 5% • 1st Midterm Exam (in class, 5th week) 15% • 2nd Midterm Exam (in class, 10th week) 15% • Final Exam 30% • Homework 35%
Attendance policy • Attendance is required. • Students are expected to attend all classes and will be held responsible for all material covered during each class.
Electronic Devices • Please do not check e-mail or visit websites that are not relevant to the course during class. • It is a distraction, both for you and (more importantly) for your fellow classmates. • Please keep your phones silent during class.
About the Homework • Only hard copy is accepted. (Complicated ER diagrams can be drawn by hand) • Make a cover page (name, homework number) • Due in a week after being announced • Late work will not be accepted
Homework Policy • You may discuss the homework/projects with other students. • However, you must acknowledge the people you worked with. • And you must independently write up your own solutions. • Any written sources used (apart from the text) must also be acknowledged.
Advises • Keep monitors off! • Take notes • Start the homework and programming assignments early
What will be covered • This course introduces the fundamental concepts of database management • Introduction to database management (Chap 1) • The entity relationship data model and conceptual schema design (Chap 2)
What will be covered • The relational data model and relational database design (Chap 3) • Relational algebra (Chap 4) • SQL queries, constraints and triggers (Chap 5)
Q6: Find sid’s of sailors who’ve reserved a red boat but not a green boat: SELECTS.sid FROM Sailors S, Boats B, Reserves R WHERES.sid=R.sidANDR.bid=B.bidANDB.color=‘red’ ANDS.sidNOT IN (SELECT S2.sid FROM Sailors S2, Boats B2, Reserves R2 WHERE S2.sid=R2.sid AND R2.bid=B2.bid AND B2.color=‘green’)
What will be covered • Application development (Chap 6 & Chap 7 & supporting material) • JDBC (Java) • Web (PHP) • Schema refinement and normal forms (Chap 19) • Redundancycauses several problems associated with relational schemas. • Functional dependencies, can be used to identify schemas with such problems and to suggest refinements.
Software • MySQL 5.6 • MySQL is a relational database management system. • free and open source
Download MySQL • http://dev.mysql.com/downloads/
Readings • Chapter 1