Y23 Week23
Y23 Week23
Part A (Session3 )
1. Identify two related entities (with their attributes)
and the relationship between these entities.
2. Create the tables
3. Insert some data into the tables
4. Practice the Alter Table constructs
5. Drop the tables
2. Add a FK constraint to a table with values that do not conform. What happens? Note the message
returned by Oracle
3. Try creating a FK on a table that references a non primary key attribute. Does oracle allow this?
4. Insert more data into the table that
a) conforms to the FK b)does not conform to the FK
Note the different messages that Oracle give you?