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 does db2 stand for?
What is the physical storage length of the data types: date, time, timestamp in the db2 database?
What happens in bind step in a db2 program?
What action db2 takes when a program aborts in the middle of a transaction?
Mention the location where the output received from explain statement is stored.
What is rct?
What are db2 objects?
What is the difference between cursor stability and repeatable read isolation levels?
Is db2 a mainframe database?
What is a db2 tablespace?
How many databases can be created inside an instance in db2 ?
What is buffer pool?
what is the sqlcode -501
What is dbrm? When it will be created?
Why do we need reorg in db2?