LeetCode 183: Customers Who Never Order [SQL]

  Рет қаралды 12,392

Frederik Müller

Frederik Müller

Күн бұрын

Пікірлер: 10
@frederikmuller
@frederikmuller 2 жыл бұрын
If you want to have access to more free SQL problems, check out StrataScratch: stratascratch.com/?via=frederik
@julyw1291
@julyw1291 3 жыл бұрын
I like the second way, pretty straightforward and easy to understand.
@pimaniye41
@pimaniye41 Жыл бұрын
subquery method is far more useful in my opinion. thank you for the video. liked 👍
@mickyman753
@mickyman753 2 жыл бұрын
can you make a pattern sheet like , for similar pattern questions we can use this or that , like for this ques , pattern can be when we want first table elements not present in second then , doing left join make result table's 2nd table col null and can filter on null ,when we want to compare same column elements then self join is way to go........pattern like these would really help as when we lose touch to sql they can help us strike the inutition more
@frederikmuller
@frederikmuller 2 жыл бұрын
interesting idea
@xt8382
@xt8382 2 жыл бұрын
Thanks!
@pritishpattnaik4674
@pritishpattnaik4674 Жыл бұрын
ya got it , I was missing that AS part so getting wrong answer
@mohit4812
@mohit4812 2 жыл бұрын
best
@sandeepmanjunath8004
@sandeepmanjunath8004 Жыл бұрын
select name as customer from customers as c where not exists (select customer_id from orders as o where o.customer_id = c.id) ;
@debashish_dutta
@debashish_dutta 2 жыл бұрын
3rd Approach: Using NOT EXISTS select name as "Customers" from customers cus where not exists (select 1 from orders ord where cus.id = ord.customerId)
LeetCode 196: Delete Duplicate Emails [SQL]
5:12
Frederik Müller
Рет қаралды 18 М.
LeetCode 1454: Active Users [SQL]
14:01
Frederik Müller
Рет қаралды 6 М.
АЗАРТНИК 4 |СЕЗОН 2 Серия
31:45
Inter Production
Рет қаралды 925 М.
Bend The Impossible Bar Win $1,000
00:57
Stokes Twins
Рет қаралды 44 МЛН
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 121 МЛН
LeetCode 182: Duplicate Emails [3 Solutions]
11:49
Frederik Müller
Рет қаралды 10 М.
LeetCode 181: Employees Earning More Than Their Managers [SQL]
8:28
Frederik Müller
Рет қаралды 14 М.
Cursor Is Beating VS Code (...by forking it)
18:00
Theo - t3․gg
Рет қаралды 14 М.
LeetCode 626: Exchange Seats [SQL]
7:58
Frederik Müller
Рет қаралды 9 М.
How do indexes make databases read faster?
23:25
Arpit Bhayani
Рет қаралды 64 М.
LeetCode 185: Department Top Three Salaries [SQL]
9:33
Frederik Müller
Рет қаралды 14 М.
How I use SQL as a Data Analyst
15:30
Luke Barousse
Рет қаралды 826 М.
АЗАРТНИК 4 |СЕЗОН 2 Серия
31:45
Inter Production
Рет қаралды 925 М.