In a single table,How to retrieve a employee-id of an
employee who works in more than one department?
Answer Posted / varun
Select emp_id
from
employee
group by emp_id,dept
having count(*)>1;
| Is This Answer Correct ? | 26 Yes | 2 No |
Post New Answer View All Answers
What are the various isolation levels possible?
What does db2 stand for?
Mention data types used in db2 ?
What are concurrency issues?
What is meant by union and union all?
What is rebind in db2?
How can you validate Sql errors during cursor operation in db2 pgms and where do you code?
What is db2 optimizer?
How to check last update on table in db2?
On which levels locks can be applied?
Can we insert update delete in view?
How to execute stored procedures?
Define db2 and its databases?
What is a storage group (stogroup)?
Explain the benefits you can get from mainframe connect?