Database: manufactory_1

Question: Select the name and price of all products with a price larger than or equal to 180, and sort first by price (in descending order), and then by name  (in ascending order).
SQL: SELECT name,  price FROM products WHERE price  >=  180 ORDER BY price DESC ,  name ASC

Question: Select the average price of each manufacturer's products, showing the manufacturer's name.
SQL: SELECT avg(T1.Price),  T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer  =  T2.code GROUP BY T2.name

Question: Select the names of manufacturer whose products have an average price higher than or equal to $150.
SQL: SELECT avg(T1.Price) ,  T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer  =  T2.code GROUP BY T2.name HAVING avg(T1.price) >= 150

Question: Select the name and price of the cheapest product.
SQL: SELECT name ,  price FROM Products ORDER BY price ASC LIMIT 1