In a single table,How to retrieve a employee-id of an
employee who works in more than one department?
Answer Posted / krishnakumar
select employee-id
from table-name
grtoup by employee-id
having count(*) > 1
Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
What is the physical storage length of the data types: date, time, timestamp in the db2 database?
How and when does the db2 enforces the unique key?
Explain packages.
Is db2 a mainframe database?
what is the sqlcode -501
Define declaration generator (dclgen).
What is an instance in db2?
How to check last update on table in db2?
What is the difference between dbm cfg and db cfg file in db2 ?
What is database manager in db2?
What is a page in db2?
What are concurrency issues?
Which isolation level provides highest data integrity?
can we view the access paths created by dbrm ? how ? thx
What is plan in cobol db2?