SQL QUALIFY Keyword | Reduce Your Sub Queries and CTEs

Поділитися
Вставка
  • Опубліковано 2 жов 2024
  • In this video we will learn about SQL Qualify clause which can really reduce your sub queries and CTEs. It makes your code much cleaner and easy to read. Qualify clause is used to filter the data based on window functions.
    Zero to hero(Advance) SQL Aggregation:
    • All About SQL Aggregat...
    Most Asked Join Based Interview Question:
    • Most Asked SQL JOIN ba...
    Solving 4 Trick SQL problems:
    • Solving 4 Tricky SQL P...
    Data Analyst Spotify Case Study:
    • Data Analyst Spotify C...
    Top 10 SQL interview Questions:
    • Top 10 SQL interview Q...
    Interview Question based on FULL OUTER JOIN:
    • SQL Interview Question...
    Playlist to master SQL :
    • Complex SQL Questions ...
    Rank, Dense_Rank and Row_Number:
    • RANK, DENSE_RANK, ROW_...
    #sql #analytics #bigquery

КОМЕНТАРІ • 17

  • @ankitbansal6
    @ankitbansal6  6 місяців тому

    Start your analytics journey :
    www.namastesql.com/

  • @sahilchaudhry100
    @sahilchaudhry100 4 місяці тому

    Hello Ankit sir, this question can also be solved by simply doing group by on company and choosing max(trip_total) right? You have used window function to explain the concept, but otherwise the highest amount for each company can be calculated with group by and max function also right?

    • @ankitbansal6
      @ankitbansal6  4 місяці тому

      But you won't get other details of each driver

    • @sahilchaudhry100
      @sahilchaudhry100 4 місяці тому

      @@ankitbansal6 correct sir. Thank you.

  • @Vonneuman8676
    @Vonneuman8676 6 місяців тому +1

    Grateful to you for enlightening and strengthen SQL journey in very simplified manner as possible

  • @srinubathina7191
    @srinubathina7191 6 місяців тому +1

    Thank You Ankit Bro

  • @utkarshdixit3502
    @utkarshdixit3502 6 місяців тому

    Great video ❤

  • @nkkumari998
    @nkkumari998 6 місяців тому

    To calculate the percentage of sales for each month based on the last 6 months of sales...
    Sir, could you please provide the answer to this question? I'm feeling quite confused about it..pls sir

  • @Ankit-rv2my
    @Ankit-rv2my 5 місяців тому

    Hello Ankit, Could please make a video on non-equi join and find number of records from 2 tables ?

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

    U should say this is the function of mysql right ? , I was stunned to see ur add or some thing why I didn't find it in ms sql 😢.

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

    Are you teaching GCP for data engineer?

  • @souvik5560
    @souvik5560 6 місяців тому

    Please start a Full SQL course[Live and recorded], covering all the topics.
    It seems like an ocean. Every day some or the other topic crops up.

    • @ankitbansal6
      @ankitbansal6  6 місяців тому

      It's already there on namaste SQL website

  • @trentlandon9033
    @trentlandon9033 6 місяців тому

    I have a query which has many functions in it.. The query is taking too much time to fetch 100 thousands data... How can i reduce time in such scenario

  • @Mathematica1729
    @Mathematica1729 6 місяців тому

    Quite useful.