04 SQL

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: happen with MyISAM? What will happen with InnoDB? Parsed but not implemented in current version of MySQL. 13 13 14 Exercise 4.3 (pp. 127-128) Exercise 5.8 (p. 179) 1. 2. Consider the following schema: Suppliers (sid: integer, sname: string, address: string) Parts (pid: integer, pname: string, color: string) Catalog (sid: integer, pid: integer, cost: real) Write the SQL commands needed to create these tables (including PK and FK integrity constraints). Write the SQL statements required to create these relations, including appropriate versions of all primary and foreign key constraints. Express each of the following integrity constraints in SQL unless it is implied by the PK and FK constraints; if so, explain how it is implied. If the constraint cannot be expressed in SQL, say so. For each constraint, state what operations (inserts, deletes, and updates on specific relations) must be monitored to enforce the constraint. (b) At least one class meets in each room. (j) A student cannot add more than two courses at a time (i.e., in a single up...
View Full Document

This note was uploaded on 10/15/2012 for the course CSE 4503 taught by Professor Edallen during the Fall '12 term at Mississippi State.

Ask a homework question - tutors are online