Тёмный

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

Ankit Bansal
Подписаться 122 тыс.
Просмотров 18 тыс.
50% 1

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:
• All About SQL Aggregat...
Most Asked Join Based Interview Question:
• Most Asked SQL JOIN ba...
Solving 4 Trick SQL problems:
• Solving 4 Tricky SQL P...
Data Analyst Spotify Case Study:
• Data Analyst Spotify C...
Top 10 SQL interview Questions:
• Top 10 SQL interview Q...
Interview Question based on FULL OUTER JOIN:
• SQL Interview Question...
Playlist to master SQL :
• Complex SQL Questions ...
Rank, Dense_Rank and Row_Number:
• RANK, DENSE_RANK, ROW_...
#sql #dataengineer

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 57   
@ankitbansal6
@ankitbansal6 6 месяцев назад
Is sound quality better? I am using a mic for the first time :)
@sathwikdhanya5400
@sathwikdhanya5400 6 месяцев назад
Yes, we could also hear mixer in background
@hritikapal683
@hritikapal683 6 месяцев назад
Perfect it is
@atikhsohail3461
@atikhsohail3461 6 месяцев назад
Yes perfect
@rajatmaurya6401
@rajatmaurya6401 6 месяцев назад
Crystal clear. 😉
@hamidabano2075
@hamidabano2075 6 месяцев назад
You don't need mic Ankit. The content is anyways top notch to keep us waiting for the videos and watch them , ending up learning something new and important to impress the interviewers 😅
@nipunshetty9640
@nipunshetty9640 6 месяцев назад
Your explaination is the best I seen till date from schooling to now, best teacher ever Sir hatsoff
@dasoumya
@dasoumya 6 месяцев назад
Great explanation Ankit! I swear nobody in this RU-vid platform can explain like you did....your RU-vid channel made me kind of pro in SQL.
@LachlanNoone
@LachlanNoone 4 дня назад
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.
@ankitbansal6
@ankitbansal6 4 дня назад
Glad it was helpful!
@rosieshiels7500
@rosieshiels7500 9 дней назад
Such an excellent video Ankit! Keep up the great work!
@kaamgaming6124
@kaamgaming6124 3 месяца назад
nice really helpful
@srinubathina7191
@srinubathina7191 6 месяцев назад
Your way of explanation is next level Bro Thank you so much
@ankitbansal6
@ankitbansal6 6 месяцев назад
You are most welcome
@raviagrawal2862
@raviagrawal2862 9 дней назад
Superb explanation
@subhajitdey6806
@subhajitdey6806 6 месяцев назад
Ankit these are the contents i have ben waiting for , this is top notch , need more content on advance SQL and data engineering
@zainaltaf4935
@zainaltaf4935 6 месяцев назад
Yup it clear all my concepts regarding roll up
@dfkgjdflkg
@dfkgjdflkg 6 месяцев назад
As usual great content. One should only learn what you do, and One will be as great as you are
@sanketannadate4407
@sanketannadate4407 6 месяцев назад
Really brilliant all key points where addressed
@Vonneuman8676
@Vonneuman8676 6 месяцев назад
Thanks for such beautiful videos. Always grateful to you
@ankitbansal6
@ankitbansal6 6 месяцев назад
My pleasure 😊
@devendrabarasker4987
@devendrabarasker4987 6 месяцев назад
Thanks sir for teaching this kind of concepts 🎉
@sarvesh714
@sarvesh714 5 месяцев назад
Hi Ankit, thx for posting these videos, your content is great. Can you plz make videos on advanced concepts like materialized views and indexing?
@ankitbansal6
@ankitbansal6 5 месяцев назад
Yes, sure
@saiswaroop3570
@saiswaroop3570 6 месяцев назад
Clear explanation
@ramakumarguntamadugu1299
@ramakumarguntamadugu1299 6 месяцев назад
very good explanation.. keep posting an amazing content 👌👌🎉🎉
@ankitbansal6
@ankitbansal6 6 месяцев назад
Thanks a lot 😊
@ayushi_patra
@ayushi_patra 6 месяцев назад
This is beautiful Ankit! Thank you for sharing! I have request, could you please make a video on how to find a grain in any given fact table? Specially sometimes when we are not equipped with business knowledge, how do we find the grain in an unknown fact table? It will be very valuable. Thanks in advance!
@ankitbansal6
@ankitbansal6 6 месяцев назад
Sure
@raagpathy
@raagpathy 6 месяцев назад
Yes it is better Bohot mast
@ankitbansal6
@ankitbansal6 6 месяцев назад
Thank you 😊
@sakinasaifee3118
@sakinasaifee3118 6 месяцев назад
Awesome content!
@pateldh23
@pateldh23 6 месяцев назад
Voices is best 👌
@basireddymadhusudhanreddy7990
@basireddymadhusudhanreddy7990 6 месяцев назад
clear explanatation
@sagargudla1362
@sagargudla1362 6 месяцев назад
thanks for this scenario 😊
@santoshkiran5858
@santoshkiran5858 6 месяцев назад
Brilliant 👍
@yashshrivastava280
@yashshrivastava280 2 месяца назад
nice
@JatinC_Official
@JatinC_Official 6 месяцев назад
Amazing ❤
@vinayanayak1228
@vinayanayak1228 6 месяцев назад
you are awesome !
@gazart8557
@gazart8557 6 месяцев назад
❤❤very good sir!! Please also upload the insert script for the pervious video on business intelligence where tou show ytd etc
@ankitbansal6
@ankitbansal6 6 месяцев назад
Uploaded . Check description
@OneNI83
@OneNI83 6 месяцев назад
quick Q),what type of syntax that you used in 2:37 (select null country,null city etc..) This is the first time i saw a syntax like this .Can you please further explain on this.
@ankitbansal6
@ankitbansal6 6 месяцев назад
Just hard coding null value to columns..like.null as country
@soumyabiswal6324
@soumyabiswal6324 6 месяцев назад
just a question sir... are all these topics covered under your SQL zero to hero course ?
@ankitbansal6
@ankitbansal6 6 месяцев назад
Covered here in this video 😊
@nikhilpatil9582
@nikhilpatil9582 6 месяцев назад
Hello Ankit, I want to enroll for the recorded session course of SQL. Can you please share the link of the same..
@ankitbansal6
@ankitbansal6 6 месяцев назад
www.namastesql.com/courses/SQL-For-Analytics-6301f405e4b0238f71788354
@sureshraina321
@sureshraina321 6 месяцев назад
will this feature available across all the databases ? or restricted to SQL SERVER ?
@ankitbansal6
@ankitbansal6 6 месяцев назад
Mostly all
@ashutoshkumar5721
@ashutoshkumar5721 6 месяцев назад
are these commands supported in MySQL??
@ankitbansal6
@ankitbansal6 6 месяцев назад
Mostly yes
@guyzterrorguyz1
@guyzterrorguyz1 6 месяцев назад
Please tell me what all RDBMS supports these functions. I am interested in Oracle and SQL server
@ashishyadav-mf4hp
@ashishyadav-mf4hp 5 месяцев назад
00:00 - Rollup 05:30 - Cube 07:16 - Grouping Sets
@ajay_jangra
@ajay_jangra 6 месяцев назад
nice
Далее
Cheese grater HACK
00:22
Просмотров 1 млн
This mother's baby is too unreliable.
00:13
Просмотров 16 млн
UUID vs INT: What’s Better For Your Primary Key?
9:40
6 SQL Joins you MUST know! (Animated + Practice)
9:47
Просмотров 167 тыс.
SubTotals with SQL using ROLLUP
7:06
Просмотров 10 тыс.