Database Design and SQL Implementation for MIS602 Assessment Two
VerifiedAdded on 2022/10/12
|9
|1255
|102
Practical Assignment
AI Summary
This assignment solution provides a comprehensive overview of database design and SQL query implementation, addressing questions related to creating tables, inserting data, and performing various SQL operations. The solution includes SQL code for creating employee, department, and salary tables, inserting sample data into these tables, and executing queries for data retrieval, filtering, sorting, and updating. Specific queries demonstrate how to select all employees, select employee names, select distinct job names, update salaries, find employees with minimum and maximum salaries, and filter employees based on salary ranges, job titles, and hire dates. Additionally, the assignment covers aggregate functions like COUNT and SUM, as well as the use of LIKE operator for pattern matching. The document concludes with a bibliography referencing relevant resources on database systems and SQL.
1 out of 9