Name: Matthew Bridgeman K Number: K1019426: CI2240 (Database Systems) Assignment 2012/13
Name: Matthew Bridgeman K Number: K1019426: CI2240 (Database Systems) Assignment 2012/13
1. I declare that the attached work is all my own, and that where I have quoted from, used or referred to the opinions, work or writings of others, these have been fully and clearly acknowledged. 2. I am aware of the consequences of late submission.
Constraints
Booking
Vehicle
PK Not null Not null Not null PK FK Not null PK FK FK PK Not null Not null
check date < 14-DEC2012
Test
Driver
Employee
Not null Not null PK Not null Not null Not null
Drivers_Lice nse
driver_ID number(6) REFERENCES Driver(driver_ID), test_date date NOT NULL, result char(1) check(result in ('Y','N')));