Skip to content

Commit 889a6c7

Browse files
add 1693
1 parent ec30ca0 commit 889a6c7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1073,6 +1073,7 @@ _If you like this project, please leave me a star._ ★
10731073

10741074
| # | Title | Solutions | Video | Difficulty | Tag
10751075
|-----|----------------|---------------|---------------|---------------|-------------
1076+
|1693|[Daily Leads and Partners](https://leetcode.com/problems/daily-leads-and-partners/)|[Solution](../master/database/_1693.sql) || Easy |
10761077
|1607|[Sellers With No Sales](https://leetcode.com/problems/sellers-with-no-sales/)|[Solution](../master/database/_1607.sql) || Easy |
10771078
|1581|[Customer Who Visited but Did Not Make Any Transactions](https://leetcode.com/problems/customer-who-visited-but-did-not-make-any-transactions/)|[Solution](../master/database/_1581.sql) || Easy |
10781079
|1543|[Fix Product Name Format](https://leetcode.com/problems/fix-product-name-format/)|[Solution](../master/database/_1543.sql) || Easy |

database/_1693.sql

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--# Write your MySQL query statement below
2+
select date_id, make_name, count(distinct(lead_id)) as unique_leads,
3+
count(distinct(partner_id)) as unique_partners from DailySales group by date_id, make_name;

0 commit comments

Comments
 (0)