




















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





















































EECS3421 - Introduction to Database Management Systems
− Two single quotes = real quote, e.g., ’Joe’’s Bar’
− Unless attribute has NOT NULL constraint E.g.: price REAL NOT NULL
10
− Excellent example of a constraint
− Either says that no two tuples of the relation may agree in all the attribute(s) on the list − There are a few distinctions to be mentioned later − Place PRIMARY KEY or UNIQUE after the type in the declaration of the attribute. CREATE TABLE Beers ( name CHAR(20) PRIMARY KEY , manf CHAR(20) );