Skip to content

Commit

Permalink
Time: 399 ms (80.37%), Space: 0B (100.00%) - LeetHub
Browse files Browse the repository at this point in the history
  • Loading branch information
joseantoniochacon committed Oct 1, 2024
1 parent 893b4ca commit ffb5972
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Write your MySQL query statement below

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

0 comments on commit ffb5972

Please sign in to comment.