The document contains SQL commands to create two tables: 'department' and 'employee', and insert multiple records into each. It also includes two SQL SELECT queries to retrieve data from both tables based on matching IDs. The first query uses a comma-separated syntax while the second uses an explicit JOIN syntax to achieve the same result.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
5 views1 page
Create Table Department
The document contains SQL commands to create two tables: 'department' and 'employee', and insert multiple records into each. It also includes two SQL SELECT queries to retrieve data from both tables based on matching IDs. The first query uses a comma-separated syntax while the second uses an explicit JOIN syntax to achieve the same result.