Delete duplicate rows from a table without primary key by
using a single query
Table Employee
empname salary
A 200
B 300
A 200
C 400
D 500
D 500
Output should be
A 200
B 300
C 400
D 500
Answer Posted / navneet sharma
select distinct * from tablename
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Can group by and orderby be used together?
how you can configure a running aggregate in SSRS?
What is sql server query analyzer?
What is a periodical index?
Please explain the characteristics of a transaction server for example atomicity, consistency, isolation, durability?
Explain Normalization and DE normalization
What is a data source or ds? : sql server analysis services, ssas
What is an active database?
Which sql server table is used to hold the stored procedure script?
What languages bi uses to achieve the goal?
What is 2nf normalization?
How do I find the sql server version?
Once setting replication, is it potential to own a publisher as sixty four bit sql server and distributor or subscribers as a thirty two bit sql server?
Explain tables in SQL Azure?
What is sql server agent and what are the two modes of authentication in sql server?