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
First round ------------------- - Procedure - Packages - Views - Virtual tables - Can we use dcl with in function? - Joins and few scenarios - Triggers and its type - Pragma, type and its functionality - How to create db link in oracle - Materialized view - How to find duplicate values from table? - Cursor and its functionality - Write a script to display friday and its date from a entire year. - Exception Handling Second round ------------------------ Gave a scenario like. Need to write a function to perform. When user try to change a password. It must not be last five password and a given password can be combination of characters, symbols, upper and lower case.
how to show all tables with 'mysql'? : Sql dba
What is the requirement of self-join?
describe transaction-safe table types in mysql : sql dba
What is the use of count (*) in sql?
How can we optimize a sql query?
Which query operators in sql is used for pattern matching?
What is cte sql?
How do I view a procedure in sql?
Explain 3 basic parts of a trigger.
What are transaction and its controls?
What is the difference between inner join and natural join?
What are the features of pl sql?
Mention what does plvtab enables you to do when you showthe contents of pl/sql tables?
what are all the common sql function? : Sql dba