Pivot in sql server 2008   Part 54

Pivot in sql server 2008 Part 54

kudvenkat

11 лет назад

370,102 Просмотров

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


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

@7116matrix
@7116matrix - 02.10.2015 19:30

Thanks so much

Ответить
@findachin
@findachin - 28.09.2023 20:42

The way the entire concept is delivered makes it almost effortless to understand in its entirety. Really happy to have found the channel.

Ответить
@anikets4599
@anikets4599 - 14.08.2023 08:25

Can it be done using, CTE or window function ?

Ответить
@nan-syphotographsmemories2051
@nan-syphotographsmemories2051 - 05.04.2023 17:20

I will try this tomorrow for my inventory report, where I need to show the total quantity in cash, charge, purchases, returned etc..

Ответить
@hiteshjoshi3148
@hiteshjoshi3148 - 16.02.2023 17:54

wow thankyou so much sir

Ответить
@kavyajayesh7665
@kavyajayesh7665 - 06.01.2023 09:06

Thank you so much sir,,🙏🏻🙏🏻incredible teaching,,keep on going sir

Ответить
@kishorkunal-bz2uh
@kishorkunal-bz2uh - 22.12.2022 06:00

your videos are awesome
thanku so much

Ответить
@t_AgustD_Suga3372
@t_AgustD_Suga3372 - 04.11.2022 16:22

Very well said

Ответить
@rajatchauhan4410
@rajatchauhan4410 - 30.08.2022 16:38

He sounds like OSHO😀

Ответить
@kenmtb
@kenmtb - 29.07.2022 07:16

Kenkat is an amazing treasure for people who are leaning. Thank you

Ответить
@gattasuresh7464
@gattasuresh7464 - 28.06.2022 12:11

thank you soo much

Ответить
@loveforall9278
@loveforall9278 - 13.05.2022 12:20

Thank you sir for the video. I have one question I am creating the sp for application. If the one more country is added to the sales table then we have to manually update the query my question how can I automate it ?

Ответить
@deepthivangapandu2077
@deepthivangapandu2077 - 23.04.2022 15:40

Hi Venkat Sir, Firstly thank you so much for explaining all the concepts in detail for free. We are very much grateful to you.

Ответить
@shivalihegde3652
@shivalihegde3652 - 31.03.2022 10:44

Superb explanation of all concepts. Thank you sir

Ответить
@syamprasadp1994
@syamprasadp1994 - 28.02.2022 13:02

your teaching is very good but please provide the sample files it can help to practice

Ответить
@felicidadvalerio7767
@felicidadvalerio7767 - 22.11.2021 09:01

Thank you! Very Helpful!

Ответить
@guitarbits17
@guitarbits17 - 10.11.2021 12:08

Thanks for everything you did 🙌🏻💖

Ответить
@kamalrajsigdel968
@kamalrajsigdel968 - 22.10.2021 21:31

Would you please upload the videos for ETL Developer?

Ответить
@rkcomputers4087
@rkcomputers4087 - 21.10.2021 08:17

Thanks a lot, really helped me a lot

Ответить
@voicelesssoul
@voicelesssoul - 23.09.2021 06:43

You are always pretty much clear in the basics and concepts around it. And the way you provide all the text on your website is very detail.

Ответить
@reddyts6337
@reddyts6337 - 31.07.2021 13:40

@Venkat, I watched hundreds of videos by you. Very SIMPLE, PRECISE and PROFESSIONAL! Great job!! Learning from your videos is just a cakewalk !!

Ответить
@kuntaldas2843
@kuntaldas2843 - 28.07.2021 16:43

Can we have a SELECT query as a subquery inside the IN() section in the PIVOT operator ?

Like
....
PIVOT
(
AGGFUNC(COLUMN_X)
FOR PIVOTED_COLUMN
IN(SELECT COLUMN_Y FORM TABLE_NAME)
)
...

Ответить
@ankunildas4227
@ankunildas4227 - 11.07.2021 20:13

please add data warehouse course as well

Ответить
@sachinganiger9891
@sachinganiger9891 - 29.06.2021 16:27

How to write pivot query when we have multiple aggregation functions.
Can any one help me??

Ответить
@sachinganiger9891
@sachinganiger9891 - 29.06.2021 16:26

Thanks you so much. This video really helped me a lot.

Ответить
@mrwujie9479
@mrwujie9479 - 30.05.2021 06:22

THE BEST TEACHER!!

Ответить
@achuvisvanathan4582
@achuvisvanathan4582 - 23.05.2021 18:33

fabulous ... you made to understand the concept very very easily... much thanks

Ответить
@book_addict.5721
@book_addict.5721 - 16.04.2021 08:13

Venkat sir thanks you

Ответить
@AbhinavSingh-oq7dk
@AbhinavSingh-oq7dk - 05.03.2021 13:15

Hi,
If the country columns are more than three(as in this case), do we manually have mention it every time or there is a way, like distinct could be used so that query picks up the uniqiue countries by itself.
Thanks.

Ответить
@nys8260
@nys8260 - 31.01.2021 15:01

thanks veknat

Ответить
@vzntoup
@vzntoup - 07.12.2020 22:53

Great one man!! Thanks a million

Ответить
@VIVEKKUMAR-tp5vh
@VIVEKKUMAR-tp5vh - 25.11.2020 17:43

SIR PLEASE IMPROVE YOUR VOICE

Ответить
@keshavrajacharya1145
@keshavrajacharya1145 - 22.11.2020 09:33

very very clean and fine explanation. I liked the tutorial.

Ответить
@bala7965
@bala7965 - 22.10.2020 19:33

How to total count of pivot results in another column pls help me any one bro

Ответить
@mukeshdas8690
@mukeshdas8690 - 10.08.2020 10:07

Great

Ответить
@safeerkhan8706
@safeerkhan8706 - 15.05.2020 03:26

thnx, you are great these tutorials help me alot

Ответить
@abdulsami1982
@abdulsami1982 - 29.03.2020 22:23

I THINK IT IS IMPOSSIBLE TO USE PIVOT WITH OUT ANY AGGREGATE FUNCTION

Ответить
@mouhamedaminebousselmi7140
@mouhamedaminebousselmi7140 - 20.03.2020 17:29

hello, thank you for the video. I just have one question : can we use to_char inside for and in ?

Ответить
@nandurkarpranav
@nandurkarpranav - 12.03.2020 13:56

how to aggregate over varchar column.

Ответить
@abdulzz97
@abdulzz97 - 05.03.2020 01:32

PIVOT command unavailable at mysql

Ответить
@liviugeorge7213
@liviugeorge7213 - 06.02.2020 12:22

a VERY useful information is missing here. frankly i'm surprised that worked for you because the result as described here is returning the error: "multi-part identifier could not be bound" for the non-pivoted column. is needed to use the aliased PivotTable. example: "select PivotTable.SalesAgent (...)" instead of "select SalesAgent (...)". and is a counter-intuitive thing so... very needed to be mentioned.

Ответить
@shwetalishinde2877
@shwetalishinde2877 - 05.02.2020 14:27

Hi ,
This video is very nice .
i want your help to get my pivot result for below data .
my table:
Date Emp_name Work_Hrs
2/3/2020 Abhijeet G 5
2/3/2020 Ameya 4
2/3/2020 Amrapali 3
2/3/2020 Anil 2
2/4/2020 Abhijeet 10
2/4/2020 Ameya 8
2/4/2020 Amrapali 6
2/4/2020 Amruta 8
2/3/2020 Anil 4


and i want result
Result
Date Abhijeet Ameya Amrapali Amruta Anil
2/3/2020 5 4 3 0 2
2/3/2020 10 8 6 8 4
Please reply to my comment .
Thanks ,
Shwetali

Ответить
@normangramm
@normangramm - 28.01.2020 13:43

...you should apply as teacher in my uni.
got more from ur vids playing at 2x speed than a 3 hour lesson... love u man

Ответить
@Roman-yg8yt
@Roman-yg8yt - 02.01.2020 19:29

Thx. Your SQL videos are the best

Ответить
@kalyaniketepalli3158
@kalyaniketepalli3158 - 25.11.2019 14:11

hi i have one column with 3 rows and i want that to be pivoted to 1 row with 3 columns . can anyone help me asap

Ответить
@kelvinotieno4381
@kelvinotieno4381 - 15.11.2019 10:49

Amazing. I have had an issue with some query at work for like three days and I have finally been able to sort it out thanks to this video. Thanks so much. Subscriber since 2014

Ответить
@Tall-Cool-Drink
@Tall-Cool-Drink - 25.10.2019 18:40

This what like about your videos. You not only give us basic solution, you also give examples of scenarios where it can be confusing, and clarify them.

Thank you.

Ответить
@QuickZ_
@QuickZ_ - 18.10.2019 00:06

Excellent explanation with something many fail to explain clear.

Ответить