Recursive CTE s IN SQL | Advanced SQL | Ashutosh Kumar

Поделиться
HTML-код
  • Опубликовано: 27 окт 2022
  • Sql one of the most important language asked in most of the analytics interviews,in this series i have discussed some advanced level sql concepts that are frequently asked in data analyst,business analyst interviews. In this video i have covered non equi joins concepts in sql
    👉Query file -
    github.com/ashutoshkr103/SQL-...
    👉 Complete playlist on Sql Interview questions and answers
    • HackerRank SQL problem...
    ---------------------------------------------------------------------------------------------------------------------
    Check out some more relevant content here
    👉 How to Learn SQL
    • How to learn sql for b...
    👉 How to become a business analyst complete roadmap-
    • Business Analyst Compl...
    👉 How to become a data analyst complete roadmap-
    • Data Analyst Complete ...
    👉 Top 3 you tube channels to learn sql for free for beginners
    • Video
    👉 Rank ,Dense Rank, Row Number in sql -
    • RANK - DENSE RANK - RO...
    👉 Cross join in sql
    • CROSS JOIN SQL
    👉 union join in sql
    • UNION IN SQL
    👉 left join in sql
    • LEFT JOIN IN SQL
    👉 Right join in sql
    • RIGHT JOIN IN SQL
    👉 Inner join in sql
    • INNER JOIN IN SQL
    👉 Introduction to tables and databases in sql -
    • INTRO TO TABLES AND DA...
    👉 Aggregate Function in sql
    • AGGREGATE FUNCTION IN SQL
    👉 Functions in sql-
    • IMPORTANT FUNCTIONS IN...
    👉 String Function in sql
    • STRING FUNCTIONS IN SQL
    👉 CRUD operations in sql
    • CREATE- READ- UPDATE-D...
    👉 Autoincrement in sql
    • Auto Increment in SQL ...
    👉 Primary Key in sql-
    • PRIMARY KEYS IN SQL - SQL
    👉 Null and Default values in sql-
    • NULL AND DEFAULT VALUE...
    👉 Data types in sql-
    • Data types in Sql - SQL
    ____________________________________________________________________
    Fill the form below to subscribe yourself to the analytics jobs mailing list to receive regular job opening updates - docs.google.com/forms/d/e/1FA...
    Why you should definitely fill the analytics job updates google form - • Job Openings into busi...
    _______________________________________________________________________
    Connect with me
    📸Instagram - / ashutosh.analytics
    💻Linkedin- / ashutoszh
    _____________________________________________________________________
    Comment down if you have any doubts
    Please leave a LIKE 👍 and SUBSCRIBE ❤️ to my channel to receive more amazing content in data analytics and data science.
    _____________________________________________________________________
    🏷️ Tags
    sql,
    sql for data science,
    sql for data analytics,
    sql practise questions,
    sql practise questions and solutions,
    sql tutorials for beginners,
    sql problems for data engineers,
    ashutosh,
    ashutosh kumar,
    ashutosh kumar analytics,
    sql problems easy,
    sql problem medium,
    sql problems hard,
    sql window functions,
    sql advanced questions,
    rank functions in sql,
    lag lead in sql,
    sql interview questions and answers,
    sql interview questions,
    sql questions asked in interviews,
    hackerrank sql solutions,
    hackerearth sql solutions,
    leetcode sql solution
    🏷️HashTags
    #sql #interviews #questions #solutions

Комментарии • 25

  • @ravishmahajan9314
    @ravishmahajan9314 9 месяцев назад +1

    Only video that explained recursive CTE in detail. Thank you

  • @ArchiChakraborty
    @ArchiChakraborty Год назад +4

    I've been working with SQL for nearly 10 years and this is the best explanation i have ever come across of recursive CTEs. Great job!

  • @captainsaver69
    @captainsaver69 6 месяцев назад +1

    Nicely explained👍

  • @likhithcr7517
    @likhithcr7517 10 месяцев назад +2

    bro u r the best♥️

  • @AnilKumar-qe6er
    @AnilKumar-qe6er 8 месяцев назад

    thanks ashutosh bhai i have learnt so much from your channel

  • @grumpypants5704
    @grumpypants5704 Год назад +1

    you deserve more subscribers and views.

  • @playwithvihaan7601
    @playwithvihaan7601 Год назад +1

    Thank you so much .I am having problems with Joins and Inner queries .Can you please make a video on how to dissect such queries?

  • @imshobhitjangra
    @imshobhitjangra 5 месяцев назад

    bro make a video on subqueries

  • @vipina9744
    @vipina9744 Год назад +1

    Hi, could you please make videos on MySQL??

    • @AshutoshKumaryt
      @AshutoshKumaryt  Год назад +1

      I try to convey logical concepts which is very little dependent on the whatever version of SQL you are using , I would request you to start seeing the videos from understanding the logics

  • @AshutoshKumaryt
    @AshutoshKumaryt  Год назад +2

    👉 SQL Portfolio Project Indian Census- Part 1
    ruclips.net/video/I3YvjFfn478/видео.html
    👉 Advanced Sql Concepts Complete Playlist
    ruclips.net/p/PLbTF1OfX62c3RQ_ZFfyNBWVPdz_OWTMLG

  • @ayushbhardwaj1517
    @ayushbhardwaj1517 Год назад +1

    bro how deep sql will be asked in an interview for a fresher?? and are you currently working somewhere?

    • @AshutoshKumaryt
      @AshutoshKumaryt  Год назад +1

      See as a fresher i recommend you to complete my advance SQL playlist and that will be more than enough to crack interviews guaranteed

    • @ayushbhardwaj1517
      @ayushbhardwaj1517 Год назад

      @@AshutoshKumaryt ok

    • @ayushbhardwaj1517
      @ayushbhardwaj1517 Год назад +1

      @@AshutoshKumaryt thanks bro ..
      and do you have insta or something??

    • @AshutoshKumaryt
      @AshutoshKumaryt  Год назад

      @@ayushbhardwaj1517 yup @ashutosh.analytics

  • @AnkitGuptaYoutube
    @AnkitGuptaYoutube 5 месяцев назад

    Notes:- Recursive CTEs are declared using the WITH clause and are composed of two parts: the anchor member and the recursive member.
    Here's the basic structure of a recursive CTE:-
    WITH RECURSIVE cte_name (column1, column2, ...) AS (
    -- Anchor member: Initial query to start the recursion
    SELECT column1, column2, ...
    FROM base_table
    WHERE conditions
    UNION ALL
    -- Recursive member: Query that references the CTE itself
    SELECT column1, column2, ...
    FROM cte_name
    JOIN other_table ON condition
    WHERE conditions
    )
    -- Main query using the CTE
    SELECT *
    FROM cte_name;