Highlights
Task:
Using the AdventureWorks2016CTP3 database, write an SQL query for each of the following questions that:
1. Returns all columns in the Production.Product table, alphabetically sorted by name.
2. Returns all rows in the Production.Product table, display only Name, ProdcutNumber and ListPrice (as Price), alphabetically sorted by name .
3. Returns only the rows for Product that have a product line of R and that have days to manufacture that is less than 4. Display the Name, ProductNumber, ProductLine, DaysToManufacture columns, alphabetically sorted by name .
4. Returns distinct Job Tiltes from the HumanResources.Employee in alphabetical order.
5. Returns the total of each sales order from Sales.SalesOrderDetail, in order of the SalesOrderID.
(HINT: Use GROUP BY and ORDER BY).
6. Returns the average price and the sum of year-to-date sales, grouped by product ID and special offer ID. From the Sales.SalesOrderDetail
7. Modify query 6 so that it puts the results into groups after retrieving only the rows with list prices greater than $1000.
8. Use a Subquery that retrieves one instance of each product name for which the product model is a long sleeve logo jersey, and the ProductModelID numbers match between the Product and ProductModel tables.
9. Retrieves one instance of the first and last name of each employee for which the bonus in the SalesPerson table is 5000.00 and for which the employee identification numbers match in the Employee and SalesPerson tables.
10. Finds the product models for which the maximum list price is more than twice the average for the model.
11. Uses two correlated subqueries to find the names of employees who have sold a particular product - ProductNumber = 'BK-M68B-42’. (BRAIN TEASER)
This ICT50515 :IT Assignment has been solved by our IT Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.