Тёмный

SQL Server Programming Part 17 - The Pivot Operator 

WiseOwlTutorials
Подписаться 209 тыс.
Просмотров 71 тыс.
50% 1

If you'd like to help fund Wise Owl's conversion of tea and biscuits into quality training videos you can click this link www.wiseowl.co... to make a donation. Thanks for watching!
By Andrew Gould
www.wiseowl.co.uk - The Pivot Operator in Microsoft SQL Server allows you to group data by columns, as well as by rows, to create simple static pivot tables. This video teaches you how to use the pivot operator including how to apply aggregate functions and, importantly, a quick method for listing out the column headings of your pivot table using the QuoteName function.
You can download the script to create the Movies database used in this video at the following link:
www.wiseowl.co...
You can view a written version of this tutorial at:
www.wiseowl.co...
You can see the range of resources and courses we offer in SQL Server here:
www.wiseowl.co...
Visit www.wiseowl.co.uk for more online training resources in Microsoft Excel, Microsoft Access, Microsoft PowerPoint, Microsoft Word, Microsoft Project, Microsoft Publisher, Microsoft Visio, SQL Server, Reporting Services, Analysis Services, Visual Studio, ASP.NET, VB.NET, C# and more!

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

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 45   
@Evan-tt5kk
@Evan-tt5kk 6 лет назад
Finally someone who speaks clear English
@sahers3009
@sahers3009 3 года назад
Such unnecessary comment!!
@bbvvi
@bbvvi 4 года назад
Hands down - the BEST pivot tutorial on the internet!
@arturmostowiak9427
@arturmostowiak9427 3 года назад
So far the best PIVOT explanation I have found
@WiseOwlTutorials
@WiseOwlTutorials 3 года назад
Thank you Artur, happy to hear that you found it useful!
@Moflia2
@Moflia2 2 года назад
You are a genius for that creating that query that puts the brackets around the country names. It's almost like a cheat code haha!
@WiseOwlTutorials
@WiseOwlTutorials 2 года назад
😀 thanks Chris!
@HusseinALSHAMIRI
@HusseinALSHAMIRI 2 года назад
Thank you very much, straightforward and easy to follow
@WiseOwlTutorials
@WiseOwlTutorials 2 года назад
Happy to hear that you found it useful, thanks for watching!
@CRWork-p9z
@CRWork-p9z 10 месяцев назад
Thank you so much. I am learning, and this was helpful. Thanks for starting with the building blocks.
@WiseOwlTutorials
@WiseOwlTutorials 10 месяцев назад
You're very welcome, happy to hear that the videos are useful, thanks for watching!
@houstonfirefox
@houstonfirefox 2 года назад
Great Tutorial! All of your videos are concise, to-the-point and enjoyable to watch. Thanks!
@WiseOwlTutorials
@WiseOwlTutorials 2 года назад
Thanks! Happy to hear you're finding the videos useful!
@gautamanand2117
@gautamanand2117 7 лет назад
Your tutorials are very much explanatory than any else video. Great Job!!!!
@gautamanand2117
@gautamanand2117 7 лет назад
Just wanted to know If Andrew and WiseOwl are on Twitter? Would suggest to put twitter handles in video description :)
@yurysambale
@yurysambale 7 лет назад
Thank you, your explanation of the pivot operator was clear unlike my professor's
@notta3d
@notta3d 10 лет назад
Great video. Always wondered what QUOTENAME was for as well.
@geofff4011
@geofff4011 5 лет назад
Just saved me hours of trial and error. Thank you!
@luisgraterolpalumbo3200
@luisgraterolpalumbo3200 6 лет назад
This is the best video on Pivot Tables out there. Thanks!
@jasmineRodriguez-hg6di
@jasmineRodriguez-hg6di 9 лет назад
Great video on PIVOT operator. Thanks a lot :)
@wincentyzkielczy9162
@wincentyzkielczy9162 6 лет назад
Very clear explanation. Thank you!
@ezedienkamal2471
@ezedienkamal2471 3 года назад
this was an amazing explanation. thanks
@sugandhsai
@sugandhsai 10 лет назад
i owe you guys a lot ...........evergrateful
@jessicaerasmus7428
@jessicaerasmus7428 6 лет назад
Very helpful. Thank you so much
@RetroRick1990
@RetroRick1990 8 лет назад
Very good, many thanks dude !
@janabaker4219
@janabaker4219 8 лет назад
After trying to learn how to pivot a SQL table from site after site...i almost gave up! You allowed me to nail it! Thank you! Question though...can you Pivot two things? I am trying to Pivot a Min(StartDate) and Max(EndDate).
@lolerpal
@lolerpal 6 лет назад
Thank you hermano tengo parcial mañana y me estas salvando TUTUTUTUTUTUTUTUTu
@iqiddishnarmak
@iqiddishnarmak 5 лет назад
Great explanation! Although, you could have explained pivots using a more simple example without joins.
@WiseOwlTutorials
@WiseOwlTutorials 5 лет назад
Thanks Kamran!
@dalecornplant6073
@dalecornplant6073 5 лет назад
love this
@oladman9058
@oladman9058 Год назад
Wow!
@balaji.k.ramanar8107
@balaji.k.ramanar8107 8 лет назад
thanks really nice..
@RavikantRai21490
@RavikantRai21490 8 лет назад
Have you done one for UNPIVOT as well? Thanks for this one, I understood this well.
@ItsTarzan100
@ItsTarzan100 6 лет назад
Hey very useful video, thanks a tonne. Could you please suggest if i want to pivot using more than one aggregate columns, how do i do that ?
@fadwa2413
@fadwa2413 2 года назад
Andrew,I need a favor from you I need some links or videos to explain SQL for Query Tuning and Performance Optimization Thank You AND As always, you are Gift from Allah to US.God Bless You
@WiseOwlTutorials
@WiseOwlTutorials 2 года назад
Hi! I'm sorry but we don't have any videos on that topic at the moment. You'll find many examples with a quick Google!
@Ayplus
@Ayplus 6 лет назад
Are those custom functions ur using? Datename etc
@malcorub
@malcorub 2 года назад
Why is PIVOT in grey and not pink or blue?
@WiseOwlTutorials
@WiseOwlTutorials 2 года назад
Hi! It's because PIVOT is an operator, not a function (pink) or a keyword (blue).
@malcorub
@malcorub 2 года назад
@@WiseOwlTutorials Thank you Wise Owl!
@ThilinaDeepal
@ThilinaDeepal 9 лет назад
Thanks, Very helpful #WiseOwlTutorials
@blackman34
@blackman34 7 лет назад
is there any way to do this on postgres
@learningdatabase8573
@learningdatabase8573 8 лет назад
PIVOT works in SQL SERVER 2008?
@learningdatabase8573
@learningdatabase8573 8 лет назад
OK. I find the error. The PIVOTABLE needs one agregate function. Thank you very much!
@AW-ld7uk
@AW-ld7uk 7 лет назад
Bad @ss!
Далее
SQL Server Programming Part 18 - Dynamic Pivot Tables
13:08
T-SQL Tutorial - PIVOTing Made Easy
21:28
Просмотров 10 тыс.
🦊🔥
00:16
Просмотров 765 тыс.
Living life on the edge 😳 #wrc
00:17
Просмотров 5 млн
КОГДА НАКРОШИЛ НА ПОЛ #shorts
00:19
SQL Pivot and Unpivot | Quick Tips Ep57
21:51
Просмотров 11 тыс.
SQL Server Programming Part 13 - Dynamic SQL
27:41
Просмотров 99 тыс.
SQL Server Programming Part 16 - DDL Triggers
20:18
Просмотров 60 тыс.
SQL Server Programming Part 14 - Transactions
23:08
Просмотров 87 тыс.
Solving SQL Query | Rows to Column in SQL
1:13:11
Просмотров 172 тыс.
🦊🔥
00:16
Просмотров 765 тыс.