Answer Posted / vamsi
for example our emp table have duplicate rows than we can
run this query to delete those duplicate rows
Delete from emp a
where rowid <> ( select max(rowid) from emp where empno =
a.empno);
| Is This Answer Correct ? | 13 Yes | 4 No |
Post New Answer View All Answers
Is postgresql a server?
What is string data type in sql?
What is interval partition?
What is the difference among union, minus and intersect?
What is t-sql? : Transact sql
What is the most common sql injection tool?
Table 1: col1 Timestamp ---------------- 01-mar-2012 11:12:46 Table 2: col2 Timestamp -------------------- 01-mar-2012 11:12:10 01-mar-2012 11:11:23 Write a query to display a row with table2 col2 value less than tabl1 col1 value. Maximum timestamp value previous to table1 col1 value. Display a result as: Col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10
what are rollup and cube in t-sql? : Transact sql
what is heap table? : Sql dba
What pl/sql package consists of?
What is a dynamic query?
How do I debug a stored procedure?
What is the cause of mutating table error and how can we solve it?
Is pl sql better than sql?
what happens if null values are involved in expressions? : Sql dba