background preloader

HW 2

Facebook Twitter

CS 460: Database Management Systems Implementation [CS] Homepage. CPSC 310 / CPSC 603. [Announcements][Syllabus][Calendar][Homework][Project][Culture Reports][Useful Links] Announcements 12/7: Philip will hold a review session for the final on Monday, Dec 10, 6:00 - 8:00 PM, in room 219 Bright. 12/3: Final exam review is now available.

CPSC 310 / CPSC 603

And here is an old final exam. 12/3: For logging into the department database server in your Java program: String connectionString = "jdbc: Connection conn= DriverManager.getConnection(connectionString); Online documentation on JDBC is at: 11/30: Demos are being scheduled now for Wed, Dec 5 and Thu, Dec 6. You will have a 9 minute time slot (with 1 minute in between slots). Time slots start at 10:30 AM, 10:40 AM, 10:50 AM,..., 12:00 noon, 1:00 PM, 1:10 PM, ..., 3:50 PM on the two days. Back to beginning Syllabus Instructor: Prof. Teaching Assistant: Qingwu Yang Office: 328A H.R. Course URL: /people/welch/teaching/310.f07 Prerequisites: For CPSC 310, prerequisite is CPSC 211 (or 210); For CPSC 603, prerequisite is CPSC 601.

Calendar Homework. Database Systems: The Complete Book. Welcome to the home page for Database Systems: The Complete Book (DS:CB), by Hector Garcia-Molina, Jeff Ullman, and Jennifer Widom.

Database Systems: The Complete Book

The second edition of this book was published on June 9, 2008. Some material on this page is also relevant to A First Course in Database Systems, 3nd Edition. The Gradiance contract with Pearson (Addison-Wesley + Prentice-Hall) has terminated, and we have decided to turn Gradiance into a FREE service. If you are an instructor who wants to use the system, start by creating an account for yourself at www.gradiance.com/services NOT at the Pearson site. Note: passwords are >= 10 letters+digits, with at least one of each. Then, email your chosen login, with the book whose materials you want, to support@gradiance.com We'll enable you to create a class using those materials.

In addition, we have created eleven free "omnibus classes" covering Databases, Automata, Compilers, Operating Systems, Introductory Java, Data Structures, and Data Mining. Index About the Book. Database Systems: The Complete Book: Solutions for Chapter 3. Solutions for Section 3.1 Solutions for Section 3.2 Solutions for Section 3.3 Solutions for Section 3.4 Solutions for Section 3.5 Solutions for Section 3.6 Solutions for Section 3.7 Solutions for Section 3.1 Exercise 3.1.2(a) We can order the three tuples in any of 3!

Database Systems: The Complete Book: Solutions for Chapter 3

= 6 ways. Also, the columns can be ordered in any of 3! Return to Top Solutions for Section 3.2 Exercise 3.2.1 Customers(ssNo, name, address, phone) Flights(number, day, aircraft) Bookings(ssNo, number, day, row, seat) Being a weak entity set, Bookings' relation has the keys for Customers and Flights and Bookings' own attributes. Notice that the relations obtained from the toCust and toFlt relationships are unnecessary. ToCust(ssNo, ssNo1, number, day) toFlt(ssNo, number, day, number1, day1) That is, for toCust, the key of Customers is paired with the key for Bookings.

Exercise 3.2.3 Ships(name, yearLaunched) SisterOf(name, sisterName) CPSC 310/603, Fall 2007, Homework. CPSC 310/603 Spring 2007 Homework General Instructions: The numbers refer to the exercises at the end of the listed section in the textbook.

CPSC 310/603, Fall 2007, Homework

TYPE your solutions. Grading will be based on correctness, clarity, and whether your solution is of the appropriate length. Don't forget to acknowledge all sources of assistance. [Homework 1][Homework 2][Homework 3][Homework 4][Homework 5][Homework 6][Homework 7]