SQL Query | Convert data from columns into Rows | Unpivot

SQL Query | Convert data from columns into Rows | Unpivot

Learn at Knowstar

3 года назад

60,525 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Suresh allampalli
Suresh allampalli - 17.08.2023 19:56

what if pivot with null ?

Ответить
David Broyles
David Broyles - 05.07.2023 03:43

Exactly what I needed. Your lessons are succinct and to the point

Ответить
Giorgi Oniani
Giorgi Oniani - 01.01.2023 18:37

great video! appreciate this!

Ответить
Abdrk
Abdrk - 21.11.2022 17:23

This is an important query which was asked to me in the NatWest interview

Ответить
Luis Daniel Hernández
Luis Daniel Hernández - 06.10.2022 21:47

Thank you for your valuable contribution. Best regards from Venezuela.

Ответить
Vlrs lh
Vlrs lh - 02.08.2022 18:20

How to convert all column data types into nvarchar datatype in table

Ответить
Prashant Dahiya
Prashant Dahiya - 27.06.2022 16:04

I can't thank you enough for this, you are awesome 🤩

Ответить
Tiago Silva
Tiago Silva - 24.04.2022 03:44

Amazing🇵🇹 cheers from Portugal

Ответить
atul dhumal
atul dhumal - 08.12.2021 15:29

How to do unpivot operation on dynamic columns

Ответить
Raju Dasari
Raju Dasari - 30.10.2021 13:21

Can't be dynamic like if data comes for 2021,2022 etc ?. it will add new column or row?

Ответить
AakashPanditOfficial
AakashPanditOfficial - 13.10.2021 18:52

The UNPIVT_SALES was already created earlier or just an alias?

Ответить
jtombry
jtombry - 10.10.2021 23:23

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.

Ответить
Marnitz Taylor
Marnitz Taylor - 19.08.2021 09:58

Thank You

Ответить
GINASTI OFFICIAL
GINASTI OFFICIAL - 11.07.2021 15:17

Thanks 🙏

Ответить