SQL delete duplicites from table sql - Net-Raft.com

Welcome aboard! We are happy you are here and wish you good net-raft!




Just a Web Code Solution
join us

How to delete duplicites from table using sql ?


 60

SQL


0

table1
id customer_number
1 222
2 333
3 222

delete from table1 where id not in
(select min(id) from table1 group by customer_number


By        
The power of the user (%)
80%



The most helpful SQL solutions

how to execute select into using sql ?how to execute select into using sql ?SQL

Click to see more ...

  621     53

convert string to date sqlconvert string to date sqlSQL

Click to see more ...

  530     42

How to get the last record from table using sql ?How to get the last record from table using sql ?SQL

Click to see more ...

  456     33

create table sqlcreate table sqlSQL

Click to see more ...

  229     23

How use like using sql ?How use like using sql ?SQL

Click to see more ...

  307     22

How to get the last 10 records using mysql ?How to get the last 10 records using mysql ?SQL

Click to see more ...

  200     21

rows to columns sqlrows to columns sqlSQL

Click to see more ...

  156     17

insert new column into table sqlinsert new column into table sqlSQL

Click to see more ...

  155     16

How to convert the values to lowercase using sql ?How to convert the values to lowercase using sql ?SQL

Click to see more ...

  166     13

How to change a negative number to positive using sql ?How to change a negative number to positive using sql ?SQL

Click to see more ...

  117     11

Welcome aboard!
We are happy you are here and
wish you good net-raft!