Leetcode SQL Interview Questions | Practise SQL questions

  Рет қаралды 22,544

Sumit Mittal

Sumit Mittal

Күн бұрын

Пікірлер: 19
@sumitmittal07
@sumitmittal07 2 жыл бұрын
Checkout the Big Data course details here: trendytech.in/?referrer=youtube_lc4
@sakshijain3534
@sakshijain3534 8 ай бұрын
with cte as(select email ,row_number() over(partition by email order by email) as rn from person) select distinct email from cte where rn > 1;
@mohammadshahfaishal2747
@mohammadshahfaishal2747 2 жыл бұрын
#duplicate email.You don't need to write a derived table. You can do it one email. "Select email from table_name group by 1 Having count(*)> 1"
@souvik5560
@souvik5560 2 жыл бұрын
Loved it 👍🏼 Thank you for the session. It would be really great if you could explain why one query is better than the other query. The interviews do ask for optimisation and the basis for it.
@sumitmittal07
@sumitmittal07 2 жыл бұрын
Glad that you are liking the sessions. Yes, will cover it in the upcoming videos.
@abhisheksuman6592
@abhisheksuman6592 2 жыл бұрын
Very Informative 👍 Continue this series as it will help a lot to people looking to crack data analyst interview.
@manoharmanu399
@manoharmanu399 Жыл бұрын
select name from customers where id not in(select customerID from orders)
@Anonymous_it_is
@Anonymous_it_is 2 жыл бұрын
Thanks for this video sir. Alternate solution using Partition : SELECT DISTINCT email FROM (SELECT email, COUNT(email) OVER (PARTITION BY email) AS part FROM Person) AS temp WHERE temp.part > 1; Sir, could you please explain - is there any performance differentiation between the above query and the query shown in video. Thank You!
@arunsundar3739
@arunsundar3739 8 ай бұрын
able to solve sql problems on my own now :)
@mallikarjunpatil7553
@mallikarjunpatil7553 2 жыл бұрын
Thanks for very nice explanation.. Waiting for the premium questions
@shananwar3199
@shananwar3199 2 жыл бұрын
Thanks a lot, waiting for next session.
@sumitmittal07
@sumitmittal07 2 жыл бұрын
Very soon :)
@shivangikhanna6163
@shivangikhanna6163 2 жыл бұрын
I got this question in one of the interviews last week. You are just late by few days 😅. Just kidding! Incredible content Sumit sir.
@sayantansarbadhikary6917
@sayantansarbadhikary6917 6 ай бұрын
🎉
@vijaybabukommuri5125
@vijaybabukommuri5125 4 күн бұрын
select name as Customers from Customers where id not in (select customerId from Orders group by customerId)
@vijaybabukommuri5125
@vijaybabukommuri5125 4 күн бұрын
I think this is more simpler way SELECT email FROM person GROUP BY email HAVING COUNT(email) > 1;
@akkiwadhwa6618
@akkiwadhwa6618 Жыл бұрын
Jb nhi pta kyu btara hai..Chu
@pragyajaiswal5754
@pragyajaiswal5754 2 жыл бұрын
select Customers.name as "Customers" from Customers join Orders ON Customers.id != Orders.customerid; Can someone point out where i am doing wrong?
@HARSHRAJ-gp6ve
@HARSHRAJ-gp6ve 7 күн бұрын
select email FROM Person GROUP BY email HAVING COUNT(id)>1; select name as Customers FROM Customers LEFT JOIN Orders ON Customers. id=Orders.CustomerID where CustomerId is null;
Very Famous SQL Interview Question | Department Highest Salary
13:39
SQL Interview Question - Find Nth Highest Salary | LeetCode
30:40
Sumit Mittal
Рет қаралды 40 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 3,8 МЛН
Чистка воды совком от денег
00:32
FD Vasya
Рет қаралды 5 МЛН
From Small To Giant 0%🍫 VS 100%🍫 #katebrush #shorts #gummy
00:19
I gave 127 interviews. Top 5 Algorithms they asked me.
8:36
Sahil & Sarra
Рет қаралды 676 М.
Rank and Dense Rank in MySQL - Important SQL Interview Question
18:12
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 3,8 МЛН