BIT231: Database Systems Assessment 2 - SQL Queries Solution
VerifiedAdded on 2023/06/04
|4
|586
|136
Homework Assignment
AI Summary
This document provides the solution for a Database Systems assessment, focusing on SQL queries. The assignment requires students to write SQL code for a bookstore database, using their student ID's last two digits for table and attribute naming. The solution includes SQL code for various queries, such as selecting data based on conditions, joining tables, and using aggregate functions. The solution also addresses the requirement of providing screenshots of the SQL code execution in SAS Studio and a separate TXT/SQL file with all the SAS PROC SQL code. The assignment includes two parts, with the first part requiring the student to write SQL queries and the second part involving more complex queries involving subqueries and aggregate functions. The solution covers all the specified questions and provides a comprehensive understanding of database querying techniques.
1 out of 4










