In this lab exercise, you are required to construct SQL statements toper form data selection within the North wind database, which was provided in Tutorial 3.
In this lab exercise, you must provide solutions for 5 tasks listed below. Your submission should be in a MS Word document and include the following:
The total score for this lab exercise is 10 marks. Each task is worth upto 2 marks (SQL statement: 0.5 mark; explanation: 1 mark; screenshot: 0.5 mark).
Construct an SQL statement to retrieve the names and postal codes of all customers who are located in London.
Construct an SQL statement to find the total number of orders placed by each customer. Display the customer ID and the total count of orders.
Construct an SQL statement to find all employees who were hired after January 1,2010. Display their employee ID, name, and hire date.
Construct an SQL statement to retrieve the names of customers and the names of the products they have ordered. The result should display the customer name and the corresponding product name.
Construct an SQL statement to retrieve the names of employees and the territories they manage. The result should display the employee's first name, last name, and territory description.
Get original papers written according to your instructions and save time for what matters most.