Question: Write a query that will list all the cities that have customers with a heading of Cities. Only list each city once (no duplicates) and
Write a query that will list all the cities that have customers with a heading of Cities. Only list each city once (no duplicates) and sort in descending alphabetical order.
Write a query that displays the title of each item along with the price (with a heading of Original) and a calculated field reflecting the price with a 15% discount (with a heading of Sale). Display the sale price with two decimal places using the ROUND function. Sort by price from highest to lowest.
Write a query that displays the number of orders.
Write a query that displays the customer city, first name, last name, and zip code from the customers table. Use the LIKE operator to only display customers that reside in any zip code beginning with 9.
Write a query that displays the order id and order date for any orders placed from March 1, 2014 through April 30, 2014. Do this WITHOUT using the BETWEEN clauses. Format the date field as Month dd, yyyy and use a heading of Ordered.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
