Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

2 Question about Database SQL exercise 1. Our company needs a listing of each pr

ID: 3745529 • Letter: 2

Question

2 Question about Database SQL exercise

1. Our company needs a listing of each product we sell. Create a query that shows the Category Name, Product Name, Description, and Price for each Product. Sort the result set by the Category Name and then by the Product Name, in ascending order.

2. We need to mail an invoice to each one of our customers. Create a query that contains the First Name, Last Name, and full mailing address information (Street, City, State, Zip Code). Make sure to use billing addresses and not shipping addresses.

Explanation / Answer

1.

SELECT Categories.CategoryName,Products.ProductName,Description,Price FROM Categories INNER JOIN Products ON Categories.CategoryID=Products.CategoryID order by CategoryName,ProductName;

2.

Select CompanyName,ContactName,Address,City,Region,PostalCode from Customers;

Do ask if any doubt. Please upvote.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote