Top 10 SQL Interview Queries | Popular SQL Queries for SQL Interview

preview_player
Показать описание
In this video, we look at 10 commonly asked SQL Queries during interviews. These are in my opinion top 10 SQL queries to learn before going to any SQL Interview. These 10 queries will cover most of the important SQL concepts hence if you can solve these 10 queries then you would have a very good understanding of SQL.

Download all 10 SQL query scripts, solutions, and problem statements from my blog below:

Check out one of the BEST platforms to learn SQL:

Get yourself a "Certificate of Competency in SQL" for free from below:

Timestamp:
00:00 Intro
01:03 Query 1
04:25 Query 2
07:34 LearnSQL
09:34 Get your Free SQL Competence Certificate
10:14 Query 3
12:59 Query 4
16:05 Query 5
19:56 Query 6
23:27 Query 7
26:03 Query 8
27:58 Query 9
31:13 Query 10

More Videos:
Delete Duplicate data (10 ways):

Window function Frame clause Tutorial:

JOINS Tutorial (SELF Join)

Recursive SQL Tutorial:

Subqueries Tutorial:

Thanks for watching!
Thoufiq | techTFQ
Рекомендации по теме
Комментарии
Автор

Check out the learn SQL platform here:

Get yourself a "Certificate of Competency in SQL" for free from below:

techTFQ
Автор

Hi Toufiq! I have gone through SQL course from the beginning to brush up my skills and all the concepts. In the recent interview, I cleared all the technical rounds and I got placed last week with a good hike. Your videos and your teaching helped me a lot.! I am really Happy! Please keep going. God bless you!

Malathi_Steps
Автор

Your Channel is one the best when it comes to taking SQL to the next level. Really appreciate this content, thank you!

ezhankhan
Автор

After watching your SQL videos I thought my thinking capability increase gradually that where to think about to write a query....😊 Thanks a

debapriyabehera
Автор

Thankyou, Its helpful and correct question which are asked in Interviews

neha_gupta
Автор

Awesome video!!! I'm using SQL server. What I do to follow along is CREATE TABLE and INSERT INTO the same simple tables/data and try to solve it before watching your solutions.
Some we did exactly the same.... others we went about it a different way. Either way, this is a fantastic video to prep you for SQL Interviews. Thank you!!!!

malcorub
Автор

Hi Toufiq. Thanks a lot for providing so many useful examples on solving SQL. I have been learning quite a lot from your videos and your SQL / python courses. Really appreciate for these courses and videos that you have done for us. Also, thanks for introducing the learnSQL website to us. I have registered for the life time eLearning also. Also, you are the best teacher I've met on learning SQL. Hope you continue to make these quality and useful video for us. Keep going brother 👍
From Tony

tonysun
Автор

Nice explanation and it is very useful 👌👌

bugstophere
Автор

Being an intermediate learner. this video humbled me thank you

shashankprabhu
Автор

Always a pleasure to watch your videos Thofik. I m learning a lot from you .

Batira
Автор

Dear Toufiq, I would say thank you for your effort. On Question 5 I didn't get the point of joining with the original table, I think it could work as expected with out joining the cte with the original table as follow unless we have some edge condition we should consider.

with recursive cte as
(
select id, item_name, total_count, 1 as level
from travel_items
union all
select cte.id, cte.item_name, cte.total_count -1, level + 1 as level
from cte

where cte.total_count > 1
)
select id, item_name, level
from cte

tmstechschool
Автор

Thank you Toufiq, for question 4 we can do in very simple way instead writing such complex query select least(startingpoint, endingpoint), greatest(startingpoint, endingpoint), distance from distance;

vijayreddy
Автор

Haven't seen any channel creating this gold level across platform

inbox.sanatan
Автор

Your channel explains all the concepts in an effective and efficient manner. This is the first video I watched and destined to watch all

iamsanjay
Автор

Great video! However, I think it is for more advanced SQL learners. Although i am an intermediate learner, it was very difficult to understand the concepts. But I keep learning..

sofhhif
Автор

Thank you very much TFQ, this was so helpful!

sujaa
Автор

Another quality content from Techtfq👌👌👏 Keep going brother🙌

mohammedshahil
Автор

Excellent questions Toufiq, covers quite a bit of SQL innards

muralibaddela
Автор

Thank you, bahut sikhne ko milta he, aur questions late raho 👌👍

crownaradhya
Автор

Please make a video about data execution in sql server, how to identify bad or good ( efficient or inefficient queries), how the cost of query in percent matters

shekhark