Answer Posted / ravi patel
for the table emp
ID NAME
1 ravi
2 umang
1 ravi
3 nishant
now fire the query as beleow
select * from emp group by id,name having count(id)>1 and
count(name)>1;
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
how to calculate expressions with sql statements? : Sql dba
What are the ddl commands?
How do you explain an index number?
How does index help in query performance?
Which one is better subquery or joins?
What is restrict in sql?
What is the difference between nested table and varray?
What is sql profiler in oracle?
What is the cause of mutating table error and how can we solve it?
How do I upgrade sql?
Can we declare a column having number data type and its scale is larger than pricesionex: column_name number(10,100),column_name numbaer(10,-84)
What are the types of variables use in pl sql?
Is sql scripting language?
Is id a reserved word in sql?
Why is the cursor important?