CTE in SQL (Common Table Expression) | SQL WITH Clause | CTE Query Performance | Advanced SQL

preview_player
ะŸะพะบะฐะทะฐั‚ัŒ ะพะฟะธัะฐะฝะธะต
๐–๐š๐ง๐ญ ๐ญ๐จ ๐Œ๐š๐ฌ๐ญ๐ž๐ซ ๐’๐๐‹? ๐‹๐ž๐š๐ซ๐ง ๐’๐๐‹ ๐ญ๐ก๐ž ๐ซ๐ข๐ ๐ก๐ญ ๐ฐ๐š๐ฒ ๐ญ๐ก๐ซ๐จ๐ฎ๐ ๐ก ๐ญ๐ก๐ž ๐ฆ๐จ๐ฌ๐ญ ๐ฌ๐จ๐ฎ๐ ๐ก๐ญ ๐š๐Ÿ๐ญ๐ž๐ซ ๐œ๐จ๐ฎ๐ซ๐ฌ๐ž - ๐’๐๐‹ ๐‚๐ก๐š๐ฆ๐ฉ๐ข๐จ๐ง๐ฌ ๐๐ซ๐จ๐ ๐ซ๐š๐ฆ ๐›๐ฒ ๐’๐ฎ๐ฆ๐ข๐ญ ๐’๐ข๐ซ!

"๐€ 8 ๐ฐ๐ž๐ž๐ค ๐๐ซ๐จ๐ ๐ซ๐š๐ฆ ๐๐ž๐ฌ๐ข๐ ๐ง๐ž๐ ๐ญ๐จ ๐ก๐ž๐ฅ๐ฉ ๐ฒ๐จ๐ฎ ๐œ๐ซ๐š๐œ๐ค ๐ญ๐ก๐ž ๐ข๐ง๐ญ๐ž๐ซ๐ฏ๐ข๐ž๐ฐ๐ฌ ๐จ๐Ÿ ๐ญ๐จ๐ฉ ๐ฉ๐ซ๐จ๐๐ฎ๐œ๐ญ ๐›๐š๐ฌ๐ž๐ ๐œ๐จ๐ฆ๐ฉ๐š๐ง๐ข๐ž๐ฌ ๐›๐ฒ ๐๐ž๐ฏ๐ž๐ฅ๐จ๐ฉ๐ข๐ง๐  ๐š ๐ญ๐ก๐จ๐ฎ๐ ๐ก๐ญ ๐ฉ๐ซ๐จ๐œ๐ž๐ฌ๐ฌ ๐š๐ง๐ ๐š๐ง ๐š๐ฉ๐ฉ๐ซ๐จ๐š๐œ๐ก ๐ญ๐จ ๐ฌ๐จ๐ฅ๐ฏ๐ž ๐š๐ง ๐ฎ๐ง๐ฌ๐ž๐ž๐ง ๐๐ซ๐จ๐›๐ฅ๐ž๐ฆ."

๐‡๐ž๐ซ๐ž ๐ข๐ฌ ๐ก๐จ๐ฐ ๐ฒ๐จ๐ฎ ๐œ๐š๐ง ๐ซ๐ž๐ ๐ข๐ฌ๐ญ๐ž๐ซ ๐Ÿ๐จ๐ซ ๐ญ๐ก๐ž ๐๐ซ๐จ๐ ๐ซ๐š๐ฆ -

๐–๐š๐ง๐ญ ๐ญ๐จ ๐ฅ๐ž๐š๐ซ๐ง ๐๐ข๐  ๐ƒ๐š๐ญ๐š ๐›๐ฒ ๐’๐ฎ๐ฆ๐ข๐ญ ๐’๐ข๐ซ?
๐œ๐ก๐ž๐œ๐ค๐จ๐ฎ๐ญ ๐ญ๐ก๐ž ๐›๐ข๐  ๐๐š๐ญ๐š ๐œ๐จ๐ฎ๐ซ๐ฌ๐ž ๐๐ž๐ญ๐š๐ข๐ฅ๐ฌ

I have trained over 20,000+ professionals in the field of Data Engineering in the last 5 years.

CTE in SQL | Common Table Expression | SQL WITH Clause | CTE Query Performance | Advanced SQL

In this video you will learn about CTE (Common table expressions) In SQL. The WITH clause really simplifies the complicated queries, and makes the SQL queries readable.

with Inner query we can see the code getting messy and there is a lot of redundancy.

Also we have talked about the performance of queries using CTE.
We even saw how CTE can degrade the performance.

CTE is very important from SQL Interview perspective, I hope this video should have given you a good idea on how to work with Common table expression in SQL.

J๐—ผ๐—ถ๐—ป ๐—บ๐—ฒ ๐—ผ๐—ป ๐—ฆ๐—ผ๐—ฐ๐—ถ๐—ฎ๐—น ๐— ๐—ฒ๐—ฑ๐—ถ๐—ฎ:๐Ÿ”ฅ

If you haven't subscribed to the channel then please do subscribe for more insightful content

#CTE #AdvancedSQL #WITHClause #bigdata #dataengineering
ะ ะตะบะพะผะตะฝะดะฐั†ะธะธ ะฟะพ ั‚ะตะผะต
ะšะพะผะผะตะฝั‚ะฐั€ะธะธ
ะะฒั‚ะพั€

I learn with clause on my own after referring bunch of codes in project that i am working on, took lot of time to understand it. Now that i know it, got addicted to it, its very useful.
Wish i would have seen this video earlier
Thanks Sumit Sir

akshayzade
ะะฒั‚ะพั€

It's one of the best tutorial with in depth explanations and clarity. You just made understanding & working of CTE so easy with your explanations sir. Hats off to you for this.

kiransuresh
ะะฒั‚ะพั€

Thankyou for the video Sir. 3 months back I started preparing for interviews. I have watched almost all of your videos here. It helped me a lot in interviews. Today I have 7+ offer and all from top product companies. Invest in yourself, you will get best ROI... In my case 6x in 14 months. And Sumit sir played a very important role.

vikastiwari
ะะฒั‚ะพั€

Excellent in-depth video Sumit sir. Really liking it and will benefit us to a great extent.

rajorshi
ะะฒั‚ะพั€

Thanks for the explanations. It has made CTE and subqueries clearer.๐Ÿ‘Œ

martinsnwokolo
ะะฒั‚ะพั€

The depth in your videos is incredible!

prashanttripathi
ะะฒั‚ะพั€

This tutorial gave full clarity on CTE(With clause). Thank you sir.
Could you please make videos on hints and optimization tuning? It will help us a lot.

dasubabu
ะะฒั‚ะพั€

Thank you for such a nice and informative tutorial on CTE. This cleared a lot of doubts.

GauravSharmagvs
ะะฒั‚ะพั€

Thank you so much for the detailed video for CTE

AmitSingh-utwt
ะะฒั‚ะพั€

"Fantastic explanation! Your detailed breakdown of the concepts and step-by-step walkthrough made it easy to follow along. The examples you provided really helped to clarify the more complex parts. Thank you for making such an informative and well-structured video!"

tejasvik
ะะฒั‚ะพั€

Thank you @ Sumit Mittal Sir for an amazing video on CTE.

pratikgugliya
ะะฒั‚ะพั€

It is really advanced CTE concept ๐Ÿ˜Š๐Ÿ˜Š๐Ÿ˜Š๐Ÿ˜Š

nepalbudha
ะะฒั‚ะพั€

Very nicely explained, Maza aa gya :) !!

r_s
ะะฒั‚ะพั€

CTE looked like a mysterious concept initially after just looking into some of the articles from google search, this video has made it look easy to grasp its purpose, syntax, benefits, possible limitations & internals, explained in a way that makes learning interesting & joyful, thank you very much sir :)

arunsundar
ะะฒั‚ะพั€

Thanks, very good explanation, please keep on providing right knowledge to all of us๐Ÿ˜Š
Please do videos on optimizations...

mallikarjunpatil
ะะฒั‚ะพั€

This video is very helpful sir, i have used CTE before but didn't know about having more than 1 table in WITH clause. Can you also explain about <Materialized View> in your next video. Thankyou Sir

abhaypartapsingh
ะะฒั‚ะพั€

Great video sir . thanks for the effort

TrustinData
ะะฒั‚ะพั€

Just a suggestion please share the table and it's contents as a link in video. So that while learning we can practice side by side. Btw, course is very helpful and builds confidence in SQL.

adityatripathy
ะะฒั‚ะพั€

SQL tuning and optimization please sir!! Thank you and really great work.

prashantguptanz
ะะฒั‚ะพั€

Thank you sir, Do more please sirrr...

gouthamganesh