Westonci.ca connects you with experts who provide insightful answers to your questions. Join us today and start learning! Explore comprehensive solutions to your questions from knowledgeable professionals across various fields on our platform. Experience the ease of finding precise answers to your questions from a knowledgeable community of experts.

Write an SQL statement to display for every restaurant the name of the restaurant (where the name of the restaurant consists of more than 10 characters) and for every category of menu item its description (catdesc). Furthermore, display the average; cheapest or lowest; and highest or most expensive price of all menu items in that category at that restaurant. Use single row functions to format all the prices. The average price must be padded; the cheapest price must be rounded; but the highest price must not be rounded. Display only those menu items of which the average item price is more than R40. Sort your results according to the restaurant names and for every restaurant from the most expensive average menu item to the cheapest average menu item. Display your results exactly as listed below.

Sagot :