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.
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
1 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.