Retrieve All Discontinued Products in SQL
Products Table:

Query Explanation:
● SELECT * → Selects all columns from the table.
● FROM Products → Targets the Products table.
● WHERE Discontinued = 1 → Filters only the discontinued products.
USE SalesInventoryDB;
SELECT *
FROM Products
WHERE Discontinued = 1;
Output:

