Very Important SQL Interview question | Over Clause | Partition By Clause

  ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 60,761

Sumit Mittal

Sumit Mittal

2 ะถั‹ะป ะฑาฑั€ั‹ะฝ

๐–๐š๐ง๐ญ ๐ญ๐จ ๐Œ๐š๐ฌ๐ญ๐ž๐ซ ๐’๐๐‹? ๐‹๐ž๐š๐ซ๐ง ๐’๐๐‹ ๐ญ๐ก๐ž ๐ซ๐ข๐ ๐ก๐ญ ๐ฐ๐š๐ฒ ๐ญ๐ก๐ซ๐จ๐ฎ๐ ๐ก ๐ญ๐ก๐ž ๐ฆ๐จ๐ฌ๐ญ ๐ฌ๐จ๐ฎ๐ ๐ก๐ญ ๐š๐Ÿ๐ญ๐ž๐ซ ๐œ๐จ๐ฎ๐ซ๐ฌ๐ž - ๐’๐๐‹ ๐‚๐ก๐š๐ฆ๐ฉ๐ข๐จ๐ง๐ฌ ๐๐ซ๐จ๐ ๐ซ๐š๐ฆ ๐›๐ฒ ๐’๐ฎ๐ฆ๐ข๐ญ ๐’๐ข๐ซ!
"๐€ 8 ๐ฐ๐ž๐ž๐ค ๐๐ซ๐จ๐ ๐ซ๐š๐ฆ ๐๐ž๐ฌ๐ข๐ ๐ง๐ž๐ ๐ญ๐จ ๐ก๐ž๐ฅ๐ฉ ๐ฒ๐จ๐ฎ ๐œ๐ซ๐š๐œ๐ค ๐ญ๐ก๐ž ๐ข๐ง๐ญ๐ž๐ซ๐ฏ๐ข๐ž๐ฐ๐ฌ ๐จ๐Ÿ ๐ญ๐จ๐ฉ ๐ฉ๐ซ๐จ๐๐ฎ๐œ๐ญ ๐›๐š๐ฌ๐ž๐ ๐œ๐จ๐ฆ๐ฉ๐š๐ง๐ข๐ž๐ฌ ๐›๐ฒ ๐๐ž๐ฏ๐ž๐ฅ๐จ๐ฉ๐ข๐ง๐  ๐š ๐ญ๐ก๐จ๐ฎ๐ ๐ก๐ญ ๐ฉ๐ซ๐จ๐œ๐ž๐ฌ๐ฌ ๐š๐ง๐ ๐š๐ง ๐š๐ฉ๐ฉ๐ซ๐จ๐š๐œ๐ก ๐ญ๐จ ๐ฌ๐จ๐ฅ๐ฏ๐ž ๐š๐ง ๐ฎ๐ง๐ฌ๐ž๐ž๐ง ๐๐ซ๐จ๐›๐ฅ๐ž๐ฆ."
๐‡๐ž๐ซ๐ž ๐ข๐ฌ ๐ก๐จ๐ฐ ๐ฒ๐จ๐ฎ ๐œ๐š๐ง ๐ซ๐ž๐ ๐ข๐ฌ๐ญ๐ž๐ซ ๐Ÿ๐จ๐ซ ๐ญ๐ก๐ž ๐๐ซ๐จ๐ ๐ซ๐š๐ฆ -
๐‘๐ž๐ ๐ข๐ฌ๐ญ๐ซ๐š๐ญ๐ข๐จ๐ง ๐‹๐ข๐ง๐ค (๐‚๐จ๐ฎ๐ซ๐ฌ๐ž ๐€๐œ๐œ๐ž๐ฌ๐ฌ ๐Ÿ๐ซ๐จ๐ฆ ๐ˆ๐ง๐๐ข๐š) : rzp.io/l/SQLINR
๐‘๐ž๐ ๐ข๐ฌ๐ญ๐ซ๐š๐ญ๐ข๐จ๐ง ๐‹๐ข๐ง๐ค (๐‚๐จ๐ฎ๐ซ๐ฌ๐ž ๐€๐œ๐œ๐ž๐ฌ๐ฌ ๐Ÿ๐ซ๐จ๐ฆ ๐จ๐ฎ๐ญ๐ฌ๐ข๐๐ž ๐ˆ๐ง๐๐ข๐š) : rzp.io/l/SQLUSD
๐–๐š๐ง๐ญ ๐ญ๐จ ๐ฅ๐ž๐š๐ซ๐ง ๐๐ข๐  ๐ƒ๐š๐ญ๐š ๐›๐ฒ ๐’๐ฎ๐ฆ๐ข๐ญ ๐’๐ข๐ซ?
๐œ๐ก๐ž๐œ๐ค๐จ๐ฎ๐ญ ๐ญ๐ก๐ž ๐›๐ข๐  ๐๐š๐ญ๐š ๐œ๐จ๐ฎ๐ซ๐ฌ๐ž ๐๐ž๐ญ๐š๐ข๐ฅ๐ฌ
๐–๐ž๐›๐ฌ๐ข๐ญ๐ž : trendytech.in/?src=youtube&su...
I have trained over 20,000+ professionals in the field of Data Engineering in the last 5 years.
Very Important SQL Interview question | Over Clause | Partition By Clause
In this session we will learn over clause in mysql
Do Like, Comment & Subscribe :)
๐—๐—ผ๐—ถ๐—ป ๐—บ๐—ฒ ๐—ผ๐—ป ๐—ฆ๐—ผ๐—ฐ๐—ถ๐—ฎ๐—น ๐— ๐—ฒ๐—ฑ๐—ถ๐—ฎ:๐Ÿ”ฅ
๐Ÿ”…Sumit LinkedIn - / bigdatabysumit
๐Ÿ”…Sumit Instagram - / bigdatabysumit
#SQL #RDBMS #database #bigdata #dataengineering

ะŸั–ะบั–ั€ะปะตั€: 41
@sumitmittal07
@sumitmittal07 ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
Checkout the Big Data course details here: trendytech.in/?referrer=youtube_sql14
@evilruzario8513
@evilruzario8513 ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
CREATE TABLE employee ( firstname varchar(20), lastname varchar(20), age int, salary int, location varchar(20) ); INSERT INTO employee VALUES ('sachin','sharma', 28, 10000, 'bangalore'); INSERT INTO employee VALUES ('shane', 'warne', 30, 20000, 'bangalore'); INSERT INTO employee VALUES ('rohit', 'sharma', 32, 30000, 'hyderabad'); INSERT INTO employee VALUES ('shikhar', 'dhawan', 32, 25000, 'hyderabad');
@manishlakhera2718
@manishlakhera2718 ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
Thanks Evil for this SQL Script.
@pavanbv25
@pavanbv25 ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
For reference I have created sample data, create table employee( first_name varchar(20), last_name varchar(20), age int, salary int, location varchar(20)); insert into employee values('sachin','sharma',28,10000,'Bangalore'); insert into employee values('pavan','sharma',30,10000,'Bangalore'); insert into employee values('rohit','sharma',31,10000,'hydrabad'); insert into employee values('shekar','sharma',32,10000,'Bangalore'); insert into employee values('Rahul','sharma',33,10000,'hydrabad'); insert into employee values('saurabh','sharma',30,10000,'pune'); insert into employee values('kapil','dev',28,10000,'pune');
@PiyushAtghara
@PiyushAtghara 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Good quality 'structured' learning material is rarely available for free. I can understand the hard work that goes into it. Thanks for all of it!
@talknow2859
@talknow2859 22 ะบาฏะฝ ะฑาฑั€ั‹ะฝ
I definitely learnt something. Thanks.๐ŸŽ‰
@kunju4ful
@kunju4ful ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
This was the great concept taught with the benefit of using it..Thank you Sumit !!
@pravinmahindrakar6144
@pravinmahindrakar6144 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Crystal clear to me, thanks a lot!
@TrustinData
@TrustinData ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
Thank you so much for such simplified explanation sir
@pridename2858
@pridename2858 10 ะฐะน ะฑาฑั€ั‹ะฝ
Wow!!!,another mind blowing session with ease, Thank you sir...we are learning
@abhishekgawali1921
@abhishekgawali1921 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Very Nice Sesson, Crystal Clear Session
@soumyadeep_bi
@soumyadeep_bi 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
It would be nice if you also include the insert queries along with the videos in the description
@talknow2859
@talknow2859 ะะน ะฑาฑั€ั‹ะฝ
Very helpful ๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰
@LokeshSabale
@LokeshSabale ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
We will also use order by under over clause after partition by because it gives an answer in a sorting manner
@rohitavachar6389
@rohitavachar6389 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Thank you โ˜บ๏ธ๐Ÿ‘
@nehamegha3384
@nehamegha3384 ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
Don't know how to thanku for this great explanation ๐Ÿ˜๐Ÿ˜
@arbazmohammad3290
@arbazmohammad3290 ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
Good Explanation. Please Provide notes for this session.
@killshot57
@killshot57 ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
Thanks legend ๐Ÿ™๐Ÿป
@pandulaajay7095
@pandulaajay7095 2 ะฐะน ะฑาฑั€ั‹ะฝ
@sumitmittal07 sir at 14:36 you said we cannot use non aggregated values with group by but while using group by we need to non aggregated values also na if not we ll get error i was a bit confused on thiss can you please explain
@slyroy7562
@slyroy7562 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Hi sir, Can you make one video in Date functions and some scenarios?
@adarshbharti8782
@adarshbharti8782 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Amazing crystal clear..... Thanx a lot sir.
@sumitmittal07
@sumitmittal07 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
I am glad that you liked it
@imrohan97
@imrohan97 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Sir have you covered joins in this series?
@rareflower88
@rareflower88 9 ะฐะน ะฑาฑั€ั‹ะฝ
The exact SQL that has all of Sumit's data and correct names, salary and ages, and exact column names used in this example: CREATE TABLE employee ( firstname varchar(20), lastname varchar(20), age int, salary int, location varchar(20)); INSERT INTO employee VALUES ('sachin','sharma',28,10000,'bangalore'); INSERT INTO employee VALUES ('shane','warne',30,20000,'bangalore'); INSERT INTO employee VALUES ('rohit','sharma',32,30000,'hyderabad'); INSERT INTO employee VALUES ('shekar','sharma',32,25000,'hyderabad'); INSERT INTO employee VALUES ('rahul','dravid',31,20000,'bangalore'); INSERT INTO employee VALUES ('saurabh','ganguly',32,15000,'pune'); INSERT INTO employee VALUES ('kapil','dev',34,10000,'pune');
@alfabinomial6183
@alfabinomial6183 ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
how may i suppose to get the txt file ?
@samidhashah542
@samidhashah542 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Very Helpful !!
@sumitmittal07
@sumitmittal07 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Thank you Samidha
@vishnujatav6329
@vishnujatav6329 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Why so small session as you provide only 2 session a week, I request you to provide one session each day if session are like this much small or create 1 hour session (covering whole topic like WINDOW function in today's session) if 2 session in a week. Thank you
@swadhinsonwane4185
@swadhinsonwane4185 ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
sir before using partition you should have explained it first. so it becomes easy for us to understand the concept behind the query.
@amuladhanunjay7946
@amuladhanunjay7946 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Sir please provide all sessions notes, it's more helpful to us
@sumitmittal07
@sumitmittal07 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Will upload them shortly
@rajpali8410
@rajpali8410 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Sir Can I get Notes...??
@naveenupadhye7285
@naveenupadhye7285 ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
IF YOU PROVIDE THE DATASET AS DOCUMENTS THEN IT WOULD BE GREAT TO COMPARE THE RESULTS
@vishnujatav6329
@vishnujatav6329 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Great session. how many more session will be there in completing the SQL?? am I eligible to face an interview If I have learn everything you have taught so far??
@sumitmittal07
@sumitmittal07 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Absolutely.. many more sessions to come.
@shaktijain8560
@shaktijain8560 9 ะฐะน ะฑาฑั€ั‹ะฝ
After setup completion : 2:24
@basudevdash3726
@basudevdash3726 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Hi sir, just wanted to know how many more concepts/lecture videos will be uploaded?
@smyphysics
@smyphysics 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
till now 13 i hope..
@basudevdash3726
@basudevdash3726 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
@@smyphysics that I know, because all are present in playlist. I am asking about future lectures.
@harshrajvaghela699
@harshrajvaghela699 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
sound very slow
@learner-xu5tw
@learner-xu5tw ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
CREATE TABLE employee ( firstname varchar(20), lastname varchar(20), age int, salary int, location varchar(20) ); INSERT INTO employee VALUES ('sachin', 'sharma', 28, 10000, 'bangalore'); INSERT INTO employee VALUES ('shane', 'warne', 30, 20000, 'bangalore'); INSERT INTO employee VALUES ('rohit', 'sharma', 32, 30000, 'hyderabad'); INSERT INTO employee VALUES ('shikhar', 'dhawan', 32, 25000, 'hyderabad'); INSERT INTO employee VALUES ('rahul', 'dravid', 31, 20000, 'bangalore'); INSERT INTO employee VALUES ('saurabh', 'ganguly', 32, 15000, 'pune'); INSERT INTO employee VALUES ('kapil', 'dev',34, 10000, 'pune');
Row Number Function in MySQL | Important SQL Interview Question
15:02
Sumit Mittal
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 49 ะœ.
Joins in SQL - very important for interviews | SQL session 11 | Trendytech
32:47
Sumit Mittal
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 65 ะœ.
ะกะฐะผั‹ะน ะœะพะปะพะดะพะน ะะบั‚ั‘ั€ ะ‘ะตะท ะžัะบะฐั€ะฐ ๐Ÿ˜‚
00:13
ะ“ะปะตะฑ ะ ะฐะฝะดะฐะปะฐะนะฝะตะฝ
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 5 ะœะ›ะ
Heartwarming moment as priest rescues ceremony with kindness #shorts
00:33
Fabiosa Best Lifehacks
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 37 ะœะ›ะ
ะšะฐั…ะฐ ะธ ััƒะฟ
00:39
ะš-Media
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 6 ะœะ›ะ
Tetris Game + Nuggets ๐Ÿ˜ฎ - CatNap Meme School #gegagedigedagedago #nuggets #memes
00:18
Infinity Circus
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 7 ะœะ›ะ
Learn GROUP BY vs PARTITION BY in SQL
14:03
Anthony Smoak
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 34 ะœ.
Important SQL INTERVIEW question | Difference between where and having in mysql
18:07
Sumit Mittal
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 43 ะœ.
SQL session 6 | Distinct, Order By, Limit, Like Keyword | Trendytech
31:57
Sumit Mittal
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 61 ะœ.
SQL Interview Question - Find Nth Highest Salary | LeetCode
30:40
Sumit Mittal
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 37 ะœ.
SQL Window Functions in 10 Minutes
10:13
Colt Steele
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 65 ะœ.
Learn SQL the right way - session 3 | Primary Key vs Unique Key | Trendytech
26:48
Sumit Mittal
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 95 ะœ.
Difference between Database vs Data lake vs Warehouse
25:05
Sumit Mittal
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 34 ะœ.
CTE in SQL (Common Table Expression) | SQL WITH Clause | CTE Query Performance | Advanced SQL
55:39
Sumit Mittal
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 97 ะœ.
SQL JOINS Interview Question | What does different SQL Joins return?
25:17
techTFQ
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 405 ะœ.
SQL Window Function | How to write SQL Query using RANK, DENSE RANK, LEAD/LAG | SQL Queries Tutorial
24:55
techTFQ
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 998 ะœ.
ะกะฐะผั‹ะน ะœะพะปะพะดะพะน ะะบั‚ั‘ั€ ะ‘ะตะท ะžัะบะฐั€ะฐ ๐Ÿ˜‚
00:13
ะ“ะปะตะฑ ะ ะฐะฝะดะฐะปะฐะนะฝะตะฝ
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 5 ะœะ›ะ