check whether all the emp numbers are indeed unique.
Answer Posted / valli
select rowid from (
select emp_no, rownum() over (emp_no) as Rownum
from emp order_by emp_no,sal
) where rownum > 2
If this query returns no rows then we can say all the emp
numbers are indeed unique.
Regard,
Valli
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
What is trigger point?
What are sql functions? Describe in brief different types of sql functions?
What is the use of %rowtype?
Explain the uses of control file.
what are the different type of sql's statements ? : Sql dba
Is nosql faster than sql?
How to avoid using cursors?
Why self join is used in sql?
How can we store rows in PL/SQL using array?
What is hibernate and its relation to sql?
Explain sql data types?
What is an implicit commit?
What is sql profiling in oracle?
how to enter characters as hex numbers? : Sql dba
Can you load data into multiple tables at once? : aql loader