SQL JOINS Tutorial Using a Case Study | SQL Fundamentals |Join explanation using Superstore Dataset

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ย. 2024

ความคิดเห็น • 35

  • @saradakv
    @saradakv หลายเดือนก่อน +1

    Excellent video! I was in time crunch and have always got confused with joins. Saw your video, not just understood but feel confident about the concept! Thanks a ton!!

    • @ankitbansal6
      @ankitbansal6  หลายเดือนก่อน

      Great to hear!

  • @NatureAndTravelAndAnimals
    @NatureAndTravelAndAnimals 2 ปีที่แล้ว +2

    Clear explanation bro and I appreciate your efforts in making videos on SQL

  • @shauryaverma8780
    @shauryaverma8780 2 ปีที่แล้ว

    The best till date, thank you so much !!!!

  • @SuperMohit95
    @SuperMohit95 2 ปีที่แล้ว

    Great refresher on Joins!

  • @sauravips
    @sauravips ปีที่แล้ว

    fantastic explanation brother

  • @SumanGhosh-vn3tx
    @SumanGhosh-vn3tx 2 ปีที่แล้ว

    Very Infrormative.Thanks a ton!!

  • @pavitrashailaja850
    @pavitrashailaja850 2 ปีที่แล้ว

    Very clearly explained 🙏🏻

    • @ankitbansal6
      @ankitbansal6  2 ปีที่แล้ว

      Glad you liked it ☺️

  • @utkarshdixit3502
    @utkarshdixit3502 2 ปีที่แล้ว

    Beautiful explanation

  • @shashankdhandharia4175
    @shashankdhandharia4175 2 ปีที่แล้ว +1

    Great explanation
    Instead of coalesce function can we use IFNULL function?

    • @ankitbansal6
      @ankitbansal6  2 ปีที่แล้ว

      If it's there in your database you can use. Moreover ifnull will take only 2 arguments while coalesce can have many..

  • @vatsalvasavada136
    @vatsalvasavada136 3 หลายเดือนก่อน

    HI Ankit great video. where I can find DDL for this exercise?

  • @adityaanand1591
    @adityaanand1591 2 ปีที่แล้ว

    it's really a good explanation with example..Is there any complete tutorial of yours on SQL.

    • @ankitbansal6
      @ankitbansal6  2 ปีที่แล้ว +1

      Thanks Aditya. I am planning to create a playlist zero to hero. Stay tuned.

    • @adityaanand1591
      @adityaanand1591 2 ปีที่แล้ว

      @@ankitbansal6 Thanks, I am curious for that playlist. The way you have explained the JOINS through a case study is really very helpful. So, also try to make your playlist with such type of case study for complete course.

  • @deepthimurali962
    @deepthimurali962 2 ปีที่แล้ว +3

    I have imported the superstore dataset from the drive link posted in description and removed duplicates using the below query. Is the query right?
    with CTE_remove_dup as
    (SELECT r.*,
    ROW_NUMBER() OVER ( PARTITION BY order_id ORDER BY order_id desc) AS RN
    FROM [dbo].[returns] r )
    DELETE from CTE_remove_dup
    WHERE RN > 1
    with CTE_remove_dup as
    (SELECT s.*,
    ROW_NUMBER() OVER ( PARTITION BY order_id ORDER BY row_id desc) AS RN
    FROM [dbo].[superstore_orders] s )
    DELETE from CTE_remove_dup
    WHERE RN > 1

  • @swatisingh-yw1fw
    @swatisingh-yw1fw 2 หลายเดือนก่อน

    sir i am not able to import excel file in sql server please in the beginning tell how to get dataset in sql server.

  • @abhimanyutiwari100
    @abhimanyutiwari100 2 ปีที่แล้ว +1

    Thanks, can you tell what is the dateype to store "mm/dd/yyyy" as mentioned in your video. I am using DATE data type to create ship_date column.

    • @ankitbansal6
      @ankitbansal6  2 ปีที่แล้ว

      You can store mm/dd/yyyy in a date data type column..

  • @sudarshanthota4444
    @sudarshanthota4444 2 ปีที่แล้ว +1

    Could you please upload video on removing dupilcates using queries...

    • @ankitbansal6
      @ankitbansal6  2 ปีที่แล้ว +1

      Sure will do that.

    • @sudarshanthota4444
      @sudarshanthota4444 2 ปีที่แล้ว +1

      @@ankitbansal6 please make video on above mentioned order's and return data for removing dupilcates..

    • @ankitbansal6
      @ankitbansal6  2 ปีที่แล้ว

      @@sudarshanthota4444 You want to delete duplicates from table or just return data without duplicates

    • @sudarshanthota4444
      @sudarshanthota4444 2 ปีที่แล้ว

      @@ankitbansal6I want delete the dupilcates

    • @ankitbansal6
      @ankitbansal6  2 ปีที่แล้ว

      @@sudarshanthota4444 ok

  • @jyotsanapandey978
    @jyotsanapandey978 6 หลายเดือนก่อน

    I have downloaded the dataset from the description by it still shows the all rows and columns (9994) the given dataset do have duplicate values. What should i do now???

    • @sunnysharma5402
      @sunnysharma5402 6 หลายเดือนก่อน

      do remove duplicate only on Order_ID columns in Superstore_Orders . It will be 5009 Orders. This will fix your problem

  • @swatisingh-yw1fw
    @swatisingh-yw1fw 2 หลายเดือนก่อน

    sir how to add excel file to sql?