human
Schema:
manufacturer (Manufacturer_ID, Open_Year, Name, Num_of_Factories, Num_of_Shops)
furniture (Furniture_ID, Name, Num_of_Component, Market_Rate)
furniture_manufacte (Manufacturer_ID, Furniture_ID, Price_in_Dollar)
Please answer with SQL.
assistant
Sure, I understand.
human
What are the names of the 5 furniture items with the highest market rates?
assistant
SELECT name FROM furniture ORDER BY market_rate DESC LIMIT 5;
human
How about the top 2?
assistant
SELECT name FROM furniture ORDER BY market_rate DESC LIMIT 2;
human
What are their market rates?
assistant
SELECT name , market_rate FROM furniture ORDER BY market_rate DESC LIMIT 2 ;