<aside> 💡
This project identifies products that are both low fat and recyclable. The solution demonstrates SQL filtering techniques with categorical data using the WHERE clause.
</aside>
Y or N).Y or N).The task is to retrieve the product_id of products where:
low_fats is 'Y'.recyclable is 'Y'.The query filters the Products table for rows where both low_fats and recyclable are 'Y'.
SELECT
product_id
FROM
Products
WHERE
low_fats = 'Y'
AND recyclable = 'Y';
low_fats = 'Y': Includes only products that are low fat.recyclable = 'Y': Further filters for products that are recyclable.product_id is retrieved to meet the output requirements.