Reference no: EM133802111
Database Design
Tutorial 5
In this tutorial, we will focus on using SQL statements to perform data selection within the Northwind database, which was provided in Tutorial 3.
Task 1
Construct an SQL statement to find the total number of products in stock for each category
Task 2
Construct an SQL statement to retrieve a list of all product names along with the corresponding suppliers, this list is sorted by product names in ascending order. Get Personalised Assignment help Now!
Task 3
Construct an SQL statement to display a list of city names along with the number of customers in each city, sorted in descending order based on the number of customers.
Task 4
Construct an SQL statement to find the products that have the highest price within their categories. Display the product name, category name, and unit price.
Task 5
Construct an SQL statement to display the employee ID, first name, last name, and the number of territories he/she manages, with the results sorted by the number of territories in descending order.
Note: For Lab Exercise 1, you are required to submit a Microsoft Word file that includes the following:
A cover page
Solutions for 5 tasks, with each solution including:
- The SQL statement (in plain text) with a brief description of how it works
- A screenshot showing the results of executing the SQL statement