Group Sold Products By The Date | Leetcode 1484 | Crack SQL Interviews in 50 Qs #mysql

preview_player
Показать описание
Want to crack SQL interviews? Check out our latest video!!!

A 50-questions SQL study plan to ace any interview.
This tutorial will walk you through the solution in easy steps. This is an easy-level question from Leetcode.

Consistency is what transforms average into excellence.
So be consistent & keep Coding💻!!

Timecodes
0:00 - Introduction
0:35 - Question Explanation
1:20 - Understanding Concept with the help of Example
2:49 - Writing SQL Query
5:49 - Explanation of SQL Query
7:01 - Outro

Connect With Me -

#coding
#leetcode
#mysql
#sql
#interview
#sqlinterview
#sqlinterviewquestionsandanswers
#sql_server
#learnwithchirag
#group
#sold
#products
#by
#the
#date
Рекомендации по теме
Комментарии
Автор

Hey there! 👋 For more interesting content, tutorials, and updates, Feel free to connect with me on

Instagram Handles :-



Let's stay connected and keep the creativity flowing! 💡

learnwithchirag
Автор

Great explanation sir please make more tutorials like this❤

mohitchoudhary
Автор

It's working fine without separator

techysuman
Автор

SELECT
sell_date,
COUNT(DISTINCT product) AS num_sold,
GROUP_CONCAT(
DISTINCT product
ORDER BY product
SEPARATOR ', '
) AS products
FROM
Activities
GROUP BY
sell_date
ORDER BY
sell_date; .we should "ORDER BY sell_date" only. That is also working fine.

skkrrtt
visit shbcf.ru