leetcode

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 0e488a3e48ea0200c15589b02bd21b4fe92b5a75
parent 7191f9e7565c3a46f14b8e38532e06aa9f2c5230
Author: AndrewLockVI <andrewlaack1@gmail.com>
Date:   Tue, 27 Jun 2023 06:40:23 -0500

Completed recyclable and low fat sql problem

Diffstat:
Arecyclable-and-low-fat/recyclable-and-low-fat.sql | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/recyclable-and-low-fat/recyclable-and-low-fat.sql b/recyclable-and-low-fat/recyclable-and-low-fat.sql @@ -0,0 +1,8 @@ +--Given a list of products return +--all products that are recyclable +--and low fat. + +SELECT Products.product_id +FROM Products +WHERE low_fats = 'Y' +AND recyclable = 'Y'