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 t sql in sql server?
What is range partitioning?
What is the purpose of a sql?
When to use inner join and left join?
what are myisam tables? : Sql dba
Can function return multiple values in sql?
What is the difference between sql and isql*plus?
What is record variable?
Why is sql better than hql?
what is a field in a database ? : Sql dba
Can we rename a column in the output of sql query?
what are date and time data types? : Sql dba
How do I add a primary key to a table?
Define tables and fields in a database
What is t-sql? : Transact sql