LeetCode 1633: Percentage of Users Attended a Contest [SQL]

  Рет қаралды 4,534

Frederik Müller

Frederik Müller

Күн бұрын

Пікірлер: 5
@mickyman753
@mickyman753 2 жыл бұрын
I like the way he thinks 1. get the feilds you want to print out 2.see what are they showing without any filter 3.then filter the things and check the output again 4/now use the output to get the result although looks likes an obvious approach at first but if didn't applied and if directly faced the problem head on then it starts looking tough/complex but by his method it is easier to breakdown the problem , so more than sql he's teaching to breakdown the problem in chunks
@frederikmuller
@frederikmuller 2 жыл бұрын
exactly!
@YASHKUMARJAIN
@YASHKUMARJAIN 3 жыл бұрын
Thanks , Before this tutorial i had no clue we can use subquery in "Select" statement like that also. Can you suggest any article which tell us more about this type of subquery usage in select Statement
@Aravindkumar-b8p
@Aravindkumar-b8p 8 ай бұрын
just 2 line !!! great select contest_id,round(count(user_id) * 100.0/(select count(user_id) from users),2) as percentage from register group by contest_id order by percentage desc,contest_id when i try this, Time Limit Exceeded
@BonnyLee-c2m
@BonnyLee-c2m 6 ай бұрын
Why should we use subquery instead of 3😮
LeetCode 1211: Queries Quality and Percentage
11:13
Frederik Müller
Рет қаралды 295
LeetCode 1661: Average Time of Process per Machine [SQL]
8:16
Frederik Müller
Рет қаралды 10 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
19. Queries Quality and Percentage | SQL Interview Questions and Answers
8:23
MLV Prasad - LeetCode SQL [ EASY ] | 1633 | "Percentage of Users Attended a Contest" |
9:45
Data Science University - MLV Prasad
Рет қаралды 1,2 М.
LeetCode 1633 Interview SQL Question with Detailed Explanation | Practice SQL
5:55
LeetCode 550: Game Play Analysis IV [SQL]
8:31
Frederik Müller
Рет қаралды 10 М.
Learn 12 Basic SQL Concepts in 15 Minutes (project files included!)
16:48
LeetCode 197: Rising Temperature [SQL]
8:20
Frederik Müller
Рет қаралды 20 М.