Select¶
Table of Contents¶
- 1757. Recyclable and Low Fat Products (Easy)
- 584. Find Customer Referee (Easy)
- 595. Big Countries (Easy)
- 1148. Article Views I (Easy)
- 1683. Invalid Tweets (Easy)
1757. Recyclable and Low Fat Products¶
-
LeetCode | LeetCode CH (Easy)
-
Tags: database
1757. Recyclable and Low Fat ProductsInput: Products table: +-------------+----------+------------+ | product_id | low_fats | recyclable | +-------------+----------+------------+ | 0 | Y | N | | 1 | Y | Y | | 2 | N | Y | | 3 | Y | Y | | 4 | N | N | +-------------+----------+------------+ Output: +-------------+ | product_id | +-------------+ | 1 | | 3 | +-------------+
1757. Recyclable and Low Fat Products
SELECT product_id
FROM
products
WHERE
low_fats = 'Y'
AND recyclable = 'Y';
584. Find Customer Referee¶
-
LeetCode | LeetCode CH (Easy)
-
Tags: database
595. Big Countries¶
-
LeetCode | LeetCode CH (Easy)
-
Tags: database
1148. Article Views I¶
-
LeetCode | LeetCode CH (Easy)
-
Tags: database
1683. Invalid Tweets¶
-
LeetCode | LeetCode CH (Easy)
-
Tags: database