BIT231: Database Systems Assessment 2 - Software Application Solution
VerifiedAdded on 2022/10/01
|29
|902
|306
Homework Assignment
AI Summary
This document presents a comprehensive solution for the BIT231 Database Systems Assessment 2, focusing on SQL queries and database manipulation within the SAS Studio environment. The solution includes the creation of tables, data insertion, and execution of various SQL queries to address specific requirements outlined in the assignment brief. The assignment involves updating and deleting records, retrieving data based on various criteria (e.g., book price, publisher location, book types), and performing more complex queries involving joins, aggregations, and subqueries. The solution also demonstrates how to use functions like COUNT, MIN, MAX, AVG, and DISTINCT to extract meaningful insights from the database. The document provides the SQL code, screenshots of the execution results, and explanations of the queries to help students understand the implementation and logic behind each task. The assessment covers a range of SQL concepts, including data definition language (DDL) for table creation, data manipulation language (DML) for data insertion, update, and deletion, and data query language (DQL) for retrieving information based on different conditions. The solution addresses all parts of the assignment, including those involving complex joins, subqueries, and aggregate functions, demonstrating a solid understanding of database concepts and practical SQL implementation.
1 out of 29