1 List all customers ordered by country, then by city within each
country 2 List all suppliers in the USA, Japan, and Germany, ordered by city, then by company name in reverse order 3 Show all orders, sorted by total amount, the largest first, within each year 4 List top 10 most expensive products 5 Get all but the 10 most expensive products sorted by price 6 Find the cheapest product 7 Find the largest order placed in 2014 8 Find the last order date in 2013 9 List all customers that are not from the USA 10 List all customers that are from the same countries as the suppliers. 11 List all products with names that start with 'Ca' 12 List all products that start with 'Cha' or 'Chan' and have one more character. 13 List all suppliers that have no fax number 14 List the total amount ordered for each customer 15 List the number of customers in each country, except the USA, sorted high to low. Only include countries with 3 or more customers. 16 List all customer with average orders between $100 and $1200. 17 List all customers, whether they placed any order or not. 18 Match customers that are from the same city and country 19 List all customers with their total number of orders 20 Which products were sold by the unit (i.e. quantity = 1) 21 List customers who placed orders that are larger than the average of each customer order 22 Find suppliers with products over $100. 23 Retrieve the customer names in the lower case, their city and country names in upper case. 24 For American customers, count the number of times ‘A’ occurs in their first names. 25 Write a query to display the products that are not ordered by any customers. 26 Write a query to display all customer details where customer placed an order during the year 2013 and in the 4th week of a month. 27 Display the time of day. 28 Write an SQL statement to convert the current date to new date picture. ex: MONDAY 10th 2005 10:30.00 PM 29 Write a query which will return the DAY of the week. (i.e. MONDAY), for any date entered in the format: DD.MM.YY. 30 Write a query to display details of orders which are placed on last Friday of a month. 31 Write a query that will display list of products and their unit price and the comments as follows. 32 If the unitprice is more than 20 then display “EXPENSIVE” If the unitprice is equal to 20 then display “AVERAGE” If the unitprice is less than 20 then display “INEXPENSIVE” 33 Write a query to find out the customers who have placed maximum number of orders. 34 Write a query to find out the year, where most orders were placed. Display the year and No. of orders. 35 Write a query to retrieve the customer name, total order amount by the customer. 36 Write a query to retrieve the company name detail of the supplier living in the same city of any of his customers. 37 Find all suppliers who supplied lowest valued products in each category (Discontinued / Not Discontinued). 38 Retrieve the details of supplier who supplied least number of products during the year 2013.