Database Systems: SQL Scripting and Relational Database Queries
VerifiedAdded on 2023/04/22
|4
|1054
|212
Homework Assignment
AI Summary
This assignment provides solutions to two database-related tasks. The first part involves creating a single SQL Server script to answer specific queries against the General Hardware Corp. relational database, including selecting data from the CUSTOMEREMPLOYEE, PRODUCT, SALESPERSON, and SALES relations using joins and filtering conditions. The second part focuses on the Northwind database, requiring an analysis of its schema and the provision of three examples demonstrating the use of different referential integrity rules (No Action, Set Default/Null, and Cascade) when deleting or updating records, along with business justifications for each choice. The document demonstrates the application of SQL scripting for database querying and the understanding of database design principles.
1 out of 4