No video

SQL Query | Convert data from columns into Rows | Unpivot

  Рет қаралды 62,010

Learn at Knowstar

Learn at Knowstar

Күн бұрын

Пікірлер: 30
@LearnatKnowstar
@LearnatKnowstar 2 жыл бұрын
Register at the below link to get US $100 off for Coursera Plus membership between Sep 8 - Sep 29, 2022. The Coursera Plus membership gets you access to unlimited courses and unlimited certifications! imp.i384100.net/Ke51on
@broyhill10
@broyhill10 Жыл бұрын
Exactly what I needed. Your lessons are succinct and to the point
@LearnatKnowstar
@LearnatKnowstar Жыл бұрын
Thank you
@SabariNathan-eh6iu
@SabariNathan-eh6iu 2 ай бұрын
so change the nulls before unpivot query
@luisdanielhernandez
@luisdanielhernandez Жыл бұрын
Thank you for your valuable contribution. Best regards from Venezuela.
@LearnatKnowstar
@LearnatKnowstar Жыл бұрын
Glad it was helpful
@abdrk1
@abdrk1 Жыл бұрын
This is an important query which was asked to me in the NatWest interview
@LearnatKnowstar
@LearnatKnowstar Жыл бұрын
Thank you
@atuldhumal8907
@atuldhumal8907 2 жыл бұрын
How to do unpivot operation on dynamic columns
@jtombry
@jtombry 2 жыл бұрын
Thank you. Very helpful. What do you do if you have many columns ( a few hundred) that you need to unpivot? It's not practical to type all of them into a select statement.
@LearnatKnowstar
@LearnatKnowstar 2 жыл бұрын
Thank you. In tht case you need to construct a dynamic unpivot query to derive column names. It would be similar to the one described in this video kzbin.info/www/bejne/d5PRZKpmer6CnJY
@jtombry
@jtombry 2 жыл бұрын
@@LearnatKnowstar Thank you!
@rajudasari8482
@rajudasari8482 2 жыл бұрын
Can't be dynamic like if data comes for 2021,2022 etc ?. it will add new column or row?
@LearnatKnowstar
@LearnatKnowstar 2 жыл бұрын
You will need to create a dynamic unpivot query. You can take the help of the below video to help frame the dynamic query - kzbin.info/www/bejne/d5PRZKpmer6CnJY
@vlrslh5302
@vlrslh5302 2 жыл бұрын
How to convert all column data types into nvarchar datatype in table
@narayanac-n7h
@narayanac-n7h 17 күн бұрын
if more columns how to do unpivot?
@tiagosilva856
@tiagosilva856 2 жыл бұрын
Amazing🇵🇹 cheers from Portugal
@LearnatKnowstar
@LearnatKnowstar 2 жыл бұрын
Thank you
@AakashPanditOfficial
@AakashPanditOfficial 2 жыл бұрын
The UNPIVT_SALES was already created earlier or just an alias?
@LearnatKnowstar
@LearnatKnowstar 2 жыл бұрын
It is an alias created as part of the query.
@vasubhadrasingh1852
@vasubhadrasingh1852 Жыл бұрын
Is it really necessary to create the two aliases? We are not utilising them anywhere
@sureshallampalli6703
@sureshallampalli6703 Жыл бұрын
what if pivot with null ?
@ginastiofficial
@ginastiofficial 3 жыл бұрын
Thanks 🙏
@prashantdahiya711
@prashantdahiya711 2 жыл бұрын
I can't thank you enough for this, you are awesome 🤩
@LearnatKnowstar
@LearnatKnowstar 2 жыл бұрын
Thank you 🙏
@giorgioniani6296
@giorgioniani6296 Жыл бұрын
great video! appreciate this!
@LearnatKnowstar
@LearnatKnowstar Жыл бұрын
Glad it was helpful!
@mario17-t34
@mario17-t34 7 ай бұрын
Thanks !!! anybody knows how to unpivot 2+ multiple columns>
@marnitztaylor9509
@marnitztaylor9509 3 жыл бұрын
Thank You
@LearnatKnowstar
@LearnatKnowstar 3 жыл бұрын
You're welcome
SQL Query | How to dynamically convert rows into columns | Dynamic Pivot
16:18
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 7 МЛН
The Joker kisses Harley Quinn underwater!#Harley Quinn #joker
00:49
Harley Quinn with the Joker
Рет қаралды 39 МЛН
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 98 МЛН
SQL Query - Convert data from Rows to Columns |Case | Pivot data
7:14
Learn at Knowstar
Рет қаралды 48 М.
SQL | STRING_SPLIT | Split Delimited String into Rows
13:30
Learn at Knowstar
Рет қаралды 2,2 М.
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 7 МЛН