how will I find the duplicate rows count from employees
tablein oracle.
Answers were Sorted based on User's Feedback
Answer / avik ganguly
select * from emp a where rowid = (select max(rowid) from
emp where empno = a.empno group by empno having count(*) >1)
| Is This Answer Correct ? | 0 Yes | 1 No |
How is data stored in dbms?
On friday, you issued several insert statements using query analyzer. You then verified the data had been correctly entered with a select statement on monday, your users report that the data is not there what happened?
Explain the role of indexing in databases?
how to find the first two highest salaries in deptno in emp table
Can you have a nested transaction?
How to create an external table.
Can you instantiate a COM object by using T-SQL?
How can you fix a poorly performing query?
The count() function always returns a int value type what should you do if you need to count rows from a query which you know will return a value that is too large for an int value type?
what is the use of foreginkey
can you give me the syntax of named procedure??
agregator gives one to many records or many to one record
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)