Creating a Table
r is the name of the relation/table
A1, A2, ..., An are attributes
D1, D2, ..., Dn are the data types of values in the domains of the corresponding attributes
IC1, IC2, ..., ICk are integrity constraints
Ex. the following creates a table for the instructor relation with primary and foreign key constraints
Inserting Values
Last updated