write a query to delete similar records in same table
Answer Posted / manjula
DELETE FROM User_Details WHERE UserID=(
SELECT t1.UserID FROM
( SELECT UserID, count(*) AS Counts FROM User_Details GROUP
BY UserID HAVING count(*) > 1 )AS t1
)
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Is pl sql different from sql?
Define sql delete statement.
What is dba in sql? : SQL DBA
What is the difference between a subquery and a join?
what are the authentication modes in sql server? How can it be changed? : Sql dba
Can a table have no primary key?
What is a primary key sql?
Why truncate is faster than delete?
What are the types of subqueries?
What is nosql db?
How do I trace sql profiler?
Are null values same as that of zero or a blank space?
What are the different types of triggers?
Why is pl sql needed?
what is datawarehouse? : Sql dba