CTE in sql server Part 49

preview_player
Показать описание
In this video we will learn about creating and referencing CTE's in SQL server. We will also learn how to create multiple CTE's using a single WITH clause.

Text version of the video

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.

Slides

All SQL Server Text Articles

All SQL Server Slides

All Dot Net and SQL Server Tutorials in English

All Dot Net and SQL Server Tutorials in Arabic
Рекомендации по теме
Комментарии
Автор

I started studying for my Computer Science degree in 2011. In 2014 I relied heavily on this channel to carry out our final year project. I have been working as a Software Engineer since 2015 and to date I still refer to this channel as either a refresher on certain concepts that I forgot or to learn new technologies. God bless Venkat!

TheINTERLECT
Автор

Your work and attention to detail are FANTASTIC!  Thank you so much for this series.  I intend to explore your other topics, as well.  THANK YOU SO MUCH!!

genemgranstaff
Автор

Thank you very much. You should help Microsoft build their courses because they are a mess!You are a bless for us the newbies!!!

bogdangirdea
Автор

It is really amazing and it helps lot to know about the SQL in very short period. Thanks a lot. Keep it up Mr. Venkat. Hats off.

muthukumar-hnwr
Автор

Mostly for beginners:- I don't know if anyone has any doubt on " how he joined two tables without having same /related column name/value ?"
The answer is :- We can join two tables without having Pk / FK concept as long as the columns on the condition have the same data values or it can be converted into the same data value :)

This video is crystal clear !! Thanks.

sidharthmandal
Автор

It's amazing how relevant Venkat SIR is even after 10 years. I was asked a question on CTE in one of my interview today. Find the third highest salary from an employee table with CTE AS
(Select distinct Salary, ROW_NUMBER() OVER (order by Salary desc) as ranking from Employees)

Select salary from CTE where ranking=3

goyalsachin
Автор

You are the greatest teacher i have ever known. Thank for all you are doin'.
God bless you.

krzysztofs
Автор

Your videos are saving me tons of hours that I would otherwise be spending reading books to learn the same!

lemmiTry
Автор

CTE's made my life simple! I used to write complex and nested queries for producing complex reports. Now I can easily simplify them using CTE's, which are more simple and maintainable.

BahawalTV
Автор

Agreed, really clear and concise info. Thanks very much for sharing

teriyakov
Автор

Venkat, I started watching your videos earlier today and I must tell you that your method of instruction is really good. I am preparing for MCSE 70-461 exam and I was struggling with CTE. However, your video made it absolutely clear. I have also placed an order for all of your SQL Server videos. Can't wait to have them downloaded. I am glad to have found your videos!

Keep up the good work ...

sidchakravarty
Автор

You can reference the first CTE in the second CTE in the CTE declaration list. That's a very useful feature as you can build on CTE results on each subsequent CTE in the list. A CTE can be referenced within the next select, insert, (...) AND another CTE declared after it under the same WiTH clause.

soarindragon
Автор

Perfect. Thanks a lot for your time and the best tutorial.

aliazad
Автор

Explaination and terminology is simple superb. Clear and easy to remember explaination

dharmasalana
Автор

Wow. Excellent Explanation.Makes it crystal clear. Very confident about my 70-461 exam

Djabsey
Автор

Clear and concise explanation. Well done.

dbin
Автор

Thank you, very enjoy it and easy to understand. Very good works from you.

yt
Автор

Thank you, great explanation in a clear way.

sefacihangir
Автор

this guy is really good at explaining cte

vandyniyomkham
Автор

cool and clear tutorial. definetly subscription

Marselmarsemars