Answer Posted / karthik
with [dup_cte] as {
select row_number(partition by eid order by eid) as rn from emp}
go
delete from [dup_cte] where rn>1
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how many sql dml commands are supported by 'mysql'? : Sql dba
what are the authentication modes in sql server? How can it be changed? : Sql dba
How do I trace sql profiler?
What is a database event trigger?
Are sql connections encrypted?
how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba
What is transaction control language (tcl)?
who introduced sql?
what is the difference between clustered and non clustered index in sql? : Sql dba
How do I run a sql trace?
What are the differences between in and exists clause?
What is a schema? How is it useful in sql servers?
what are the different tables present in mysql, which type of table is generated when we are creating a table in the following syntax: create table employee (eno int(2),ename varchar(10)) ? : Sql dba
How can you save or place your msg in a table?
What is the purpose of my sql?