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 varray in pl sql?
Is oracel sql developer written in java?
What are all the different types of indexes?
What are the parts of a basic sql query?
what is denormalization. : Sql dba
Is crud a cuss word?
How are sql commands classified?
table structure: ---------------- col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10 01-mar-2012 11:12:46 01-mar-2012 11:11:23 Write a query to display the result as shown below: col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10
what is oltp (online transaction processing)? : Sql dba
Is sql easier than java?
What is the need of merge statement?
What does pragma mean?
What are procedures used for?
Which is better trigger or stored procedure?
Can we insert data into view?