From 406629f1b5bad1b88ec6918b8d1d57ded9a7d57f Mon Sep 17 00:00:00 2001 From: Dimple Kumari <114878264+Dimple-01@users.noreply.github.com> Date: Fri, 14 Jun 2024 12:29:58 +0530 Subject: [PATCH] Time: 1314 ms (90.42%) | Memory: 0B (100.00%) - LeetSync --- 1153-product-sales-analysis-i/product-sales-analysis-i.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 1153-product-sales-analysis-i/product-sales-analysis-i.sql diff --git a/1153-product-sales-analysis-i/product-sales-analysis-i.sql b/1153-product-sales-analysis-i/product-sales-analysis-i.sql new file mode 100644 index 0000000..e8a0470 --- /dev/null +++ b/1153-product-sales-analysis-i/product-sales-analysis-i.sql @@ -0,0 +1,5 @@ +# Write your MySQL query statement below +select product_name, year,price +from Sales as s +left join Product as p +on s.product_id = p.product_id; \ No newline at end of file