programming-examples/sql/RetrieveFromTables/Write a SQL query to find the name and price of the cheapest item.sql
2019-11-18 14:05:53 +01:00

5 lines
191 B
SQL

/*Write a SQL query to find the name and price of the cheapest item.*/
SELECT pro_name, pro_price
FROM item_mast
WHERE pro_price =
(SELECT MIN(pro_price) FROM item_mast);