Rollup, Cube and Grouping Sets in SQL | Advanced SQL Tutorial | Beyond Group By

preview_player
Показать описание
In this video we will understand what are Rollup, Cube and Grouping Sets in SQL. Why we need it in a very simple way.
script:
Create table orders
(
Id int primary key identity,
Continent nvarchar(50),
Country nvarchar(50),
City nvarchar(50),
amount int
);
Insert into orders values('Asia','India','Bangalore',1000)
Insert into orders values('Asia','India','Chennai',2000)
Insert into orders values('Asia','Japan','Tokyo',4000)
Insert into orders values('Asia','Japan','Hiroshima',5000)
Insert into orders values('Europe','United Kingdom','London',1000)
Insert into orders values('Europe','United Kingdom','Manchester',2000)
Insert into orders values('Europe','France','Paris',4000)
Insert into orders values('Europe','France','Cannes',5000)
;

Zero to hero(Advance) SQL Aggregation:

Most Asked Join Based Interview Question:

Solving 4 Trick SQL problems:

Data Analyst Spotify Case Study:

Top 10 SQL interview Questions:

Interview Question based on FULL OUTER JOIN:

Playlist to master SQL :

Rank, Dense_Rank and Row_Number:

#sql #dataengineer
Рекомендации по теме
Комментарии
Автор

Is sound quality better? I am using a mic for the first time :)

ankitbansal
Автор

Your explaination is the best I seen till date from schooling to now, best teacher ever Sir hatsoff

nipunshetty
Автор

Great explanation Ankit!
I swear nobody in this YouTube platform can explain like you did....your YouTube channel made me kind of pro in SQL.

dasoumya
Автор

Best one. These concepts are there in Snowflake. finally, these topics are clear to me. .
The way you are explaining step by step is Amazing.

vandanaK-mhzo
Автор

Brilliant video! So clear. I struggled to grasp these concepts with both my uni lectures and the prescribed textbook. Will definitely be returning for more of your content.

LachlanNoone
Автор

Thanks Ankit, for making this so simple to understand. Great Job!

JimMorales
Автор

Ankit these are the contents i have ben waiting for, this is top notch, need more content on advance SQL and data engineering

subhajitdey
Автор

Your way of explanation is next level Bro
Thank you so much

srinubathina
Автор

Such an excellent video Ankit! Keep up the great work!

rosieshiels
Автор

this is exactly what I was looking for! great explanation. Thank you :)

BhaveshDangi-ee
Автор

Exactly what I needed to prepare for my test. Great job.

ibukunalade
Автор

As usual great content. One should only learn what you do, and One will be as great as you are

dfkgjdflkg
Автор

So beautifully explained. Thanks a lot.

tholkappianramasamy
Автор

Really brilliant all key points where addressed

sanketannadate
Автор

Yup it clear all my concepts regarding roll up

zainaltaf
Автор

Thank You for the great explanation!!!

AderinsolaKola-Adepoyigi
Автор

very good explanation.. keep posting an amazing content 👌👌🎉🎉

ramakumarguntamadugu
Автор

Thanks for such beautiful videos. Always grateful to you

Vonneuman
Автор

Thanks sir for teaching this kind of concepts 🎉

devendrabarasker
Автор

00:00 - Rollup
05:30 - Cube
07:16 - Grouping Sets

ashishyadav-mfhp