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
what is commit? : Sql dba
column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.
What is primary key sql?
Which software is used for pl sql programming?
what are the different functions in sorting an array? : Sql dba
What is the difference between subquery and correlated query?
how to get @@error and @@rowcount at the same time? : Sql dba
Can I create table without primary key?
What is the difference between Union and Union all. Which is faster.
Mention what does the hierarchical profiler does?
What is data control language?
How do you update a value in sql?
Which normal form is best?
What are dml commands?
Is join an inner join?