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
What are the indexing methods?
what is timestamp in mysql? : Sql dba
Is there a way to automate sql execution from the command-line, batch job or shell script?
What are the subsets of sql?
Determine if oracle date is on a weekend?
what are date and time data types in mysql? : Sql dba
What is sql integrity?
what is a trigger in mysql? : Sql dba
What is %s in sql?
What are keys in sql?
Is sql a dbms?
How do you select unique values in sql?
What is a ddl command?
Can a primary key be a foreign key?
What is cursor explain with example?