The document outlines the creation of two database tables: 'dept' for departments and 'emp' for employees, including their respective fields and constraints. It also includes multiple SQL insert statements to populate the 'dept' table with department data and the 'emp' table with employee records. The employee records reference the department numbers to establish a foreign key relationship.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
3 views
Script
The document outlines the creation of two database tables: 'dept' for departments and 'emp' for employees, including their respective fields and constraints. It also includes multiple SQL insert statements to populate the 'dept' table with department data and the 'emp' table with employee records. The employee records reference the department numbers to establish a foreign key relationship.