Instagram
youtube
Facebook
Twitter

Retrieve All Discontinued Products in SQL

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.

SQL Query:

USE SalesInventoryDB;

SELECT *  
FROM Products  
WHERE Discontinued = 1;

 

Output: