CTE s IN SQL | Advanced SQL | Ashutosh Kumar

Поділитися
Вставка
  • Опубліковано 26 лис 2024

КОМЕНТАРІ • 25

  • @osoriomatucurane9511
    @osoriomatucurane9511 11 місяців тому +1

    Awesome tutorial on cte, concise and crystal clear. It was a bit frustrating for me working in sql and not being able to chain the results or save the objects to be reused. From now on, after your cte tutorial, it will be more funny and pleasant working with sql as never before.
    For greater readibility, I would like to suggest you to consider some formatting or beautifying your code, specially your inner inner query/the derived table from the first join
    Keep it up Sir, you are a legend!

  • @shrutibajaj7249
    @shrutibajaj7249 Рік тому +1

    Patiently and Detailed Explanation. Please make a video on Dynamic SQL as well

  • @prashantvarun23
    @prashantvarun23 Рік тому +1

    you are one of the best teachers on youtube just a request to make videos in hindi as well

  • @nareshrevoori
    @nareshrevoori Рік тому +1

    In PostgreSql, We can do
    select
    c.cust_id,
    concat(c.cust_first_name, ' ', c.cust_last_name) as full_name,
    SUM(os.amount * os.quantity) filter(where date_part('year', o."date") = '2020') sale_2020,
    SUM(os.amount * os.quantity) filter(where date_part('year', o."date") = '2021') sale_2021,
    SUM(os.amount * os.quantity) filter(where date_part('year', o."date") = '2022') sale_2022
    from customer c
    join orders o on o.cust_id = c.cust_id
    join order_summary os on os.orderid = o.order_id
    group by 1,2
    order by 1

  • @mezomezo8718
    @mezomezo8718 Рік тому +1

    Did u know we love ur teaching and content

  • @VinayYadav-gu4xb
    @VinayYadav-gu4xb 2 роки тому +1

    Thank u. Pls make more videos

  • @priyanshitiwari8733
    @priyanshitiwari8733 Рік тому

    Can you provide video for indexing as well

  • @sachinmm4358
    @sachinmm4358 Рік тому

    Teaching and content quality is best, but less views Keep doing it bro

  • @sabarinathan594
    @sabarinathan594 2 роки тому +1

    To the point! Thanks bro

  • @ashirbadmajumder4917
    @ashirbadmajumder4917 2 роки тому +2

    sir me Excel, SQL and Power Bi sikna complete kiya he lekin job nahi mil rahi he 😢 keya karo

  • @anandjain7655
    @anandjain7655 Рік тому +1

    Hello Ashutosh,
    I want to know whether the Syntax of this advance SQL tutorials will be same for MySQL as well?
    Please reply.
    Thanks in Advance.

  • @ayushbhardwaj1517
    @ayushbhardwaj1517 2 роки тому

    Bro can i use mongo db campus for data analytics jobss or i have to do it with other language means who will get more preferrence
    And one more ques ...
    Are you doing any job r8 now ??

  • @ravid7209
    @ravid7209 5 місяців тому

    Bhai ne into into mei jhol kar ditta

    • @AshutoshKumaryt
      @AshutoshKumaryt  5 місяців тому

      Jara detail mein btao bhai kya jhol ho gya