check whether all the emp numbers are indeed unique.
Answer Posted / nagendra
select empno, count(empno)
from emp
group by empno
having count(empno) > 1;
Is This Answer Correct ? | 22 Yes | 4 No |
Post New Answer View All Answers
What is trigger and stored procedure in sql?
Can a primary key be a foreign key?
What is %type in sql?
How many disk partitions should I have?
What is the meaning of disabling a trigger?
what is the difference between ereg_replace() and eregi_replace()? : Sql dba
How to place comments in pl/sql?
What is the use of function "module procedure" in pl/sql?
What is a boolean in sql?
how to check server status with 'mysqladmin'? : Sql dba
How do I edit a stored procedure?
What is the importance of sqlcode and sqlerrm?
Which data type is a composite type?
What is dense_rank in sql?
What is normalisation in sql?