How To Find Duplicate Rows In a Table | SQL | Interview Preparation

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025
  • Hey its very simple to Find Duplicate Rows or record In a Table? Just watch the video now. I hope this video helps you.
    Please Like , share and subscribe.
    Join our Telegram Channel - t.me/joingroup...
    ⭐Part 1:Top 9 SQL queries for interview -
    • Top 9 SQL queries for ...
    ⭐Part 2:Top 9 SQL queries for interview -
    • PART 2 : Top 9 SQL que...
    ⭐Find Nth Highest Salary in SQL | 5 Different Ways
    • Find Nth Highest Salar...
    ⭐Top SQL Interview Question
    • Top SQL Interview Ques...
    ⭐Find the number of Employees working in each department | SQL
    • Find the number of Emp...
    ⭐Types of Joins in SQL-
    • SQL Joins & Its Types ...
    ⭐Aggregate Functions In SQL | COUNT, SUM, AVG, MIN, MAX | IFNULL( )
    • Aggregate Functions In...
    ⭐Difference Between DELETE, DROP and TRUNCATE
    • Difference Between DEL...
    ⭐SQL vs NoSQL | MySQL vs MongoDB
    • Difference between SQL...
    ⭐DBMS vs RDMS
    • DBMS vs RDBMS | What i...
    ⭐Normalization in DBMS-
    • Normalization and its ...
    ⭐Types of key in DBMS-
    • Types of Keys in DBMS ...
    ⭐Create MySQL Database and Table -
    • How to Create Database...
    #mysql #oracle #dbms #query #top #sqlserver #database #PlacementPreparation

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

  • @sravaniB-u9z
    @sravaniB-u9z 6 หลายเดือนก่อน +6

    it didn't for my 'select *, count(*) from employees_1 group by id'
    when we take select *, it was expecting all cols should be present in group by as well

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

      correct

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

      Or Use this : select * , count(*) over (partition by Email_id) as duplicate from employees_1

  • @ShravanKumar-me6iy
    @ShravanKumar-me6iy 2 ปีที่แล้ว +3

    Hai, madam ur classes r super.
    Ur voice is also super

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

    Most important qns👍👍

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

    Great explanation on dupes identification.

    • @CodeEra2020
      @CodeEra2020  3 ปีที่แล้ว

      Thank you so much😊

  • @shaktijyoti4553
    @shaktijyoti4553 3 ปีที่แล้ว +5

    Simple and nice explanation,In next vlog could you please demonstrate about dropping out duplicate records

  • @rishabhrishu1602
    @rishabhrishu1602 3 ปีที่แล้ว +1

    thanqq ma'am please make some video on interview question

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

    Can you show me how to retrieve ONLY the duplicates, and show them all, even if identical? The result of the query should be a total of 4 lines - two for Rohit and two for Sanket. Thanks.

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

    Hi saloni madam any query to find duplicate data row without knowing the database means we know only data table name and column name

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

    Nice yaar

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

    Osm😎

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

    Very nice explanation

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

    If source count and distinct counts are not matching and I'm target count and distinct counts are matching how will we find what's missing btwn source and target

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

    Nice video , very good Didi

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

    Write a query to report the IDs of all the products that were ordered there or more times in two consecutive years.
    Can you please send me the answer

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

    Nice explanation

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

    Nice explain 🤗

  • @ChandraSekhar-jx5hv
    @ChandraSekhar-jx5hv ปีที่แล้ว

    Excellent Madam

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

    Please do the video on corelated sub query and normalization 🙏

    • @CodeEra2020
      @CodeEra2020  3 ปีที่แล้ว +1

      We will try our best.. Thank you so much for watching

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

    thanks for your help🙂

  • @arjunchaurasiya6709
    @arjunchaurasiya6709 3 ปีที่แล้ว +1

    Thanks a lot 😊

    • @CodeEra2020
      @CodeEra2020  3 ปีที่แล้ว +1

      So happy to know that you like it.. Thank you for watching

    • @arjunchaurasiya6709
      @arjunchaurasiya6709 3 ปีที่แล้ว

      @@CodeEra2020 your welcome ....

  • @mrinalbera6080
    @mrinalbera6080 3 ปีที่แล้ว +1

    Nice mam ❤️

    • @CodeEra2020
      @CodeEra2020  3 ปีที่แล้ว

      Thank you so much for watching

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

    My question is , how do we display the total in frontend because you are using the query inside the database

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

      For these you have to use any backend technology like java. so that you can connect your Frontend with database. Then you can show your result on fronted.

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

      @@CodeEra2020 am using php
      $sql1 = "select sigles, COUNT(*) AS totalnumber from tbl_student group by sigles ";

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

      that is my code so I have also used totalnumber as a tempolary email, but am wondering whether I can user echo count('totalnumber') to display in frontend

  • @ankitpurshottam3442
    @ankitpurshottam3442 29 วันที่ผ่านมา

    your syntax is wrong concept is right

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

    best

  • @madhukantaneema4736
    @madhukantaneema4736 3 ปีที่แล้ว +1

    nice didi

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

    Great 👍🏻

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

    Comp😊