In a single table,How to retrieve a employee-id of an
employee who works in more than one department?
Answer Posted / venkat
SELECT EMPLOYEE-ID FROM EMPLOYEE GROUP BY EMPLOYEE-ID,DEPARTMENT HAVING COUNT( DEPARTMENT ) > 1;
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
B37 abend during spufi?
What is ibm db2 client?
What is a trigger in the db2 database?
How can tablespace be moved to another dasd volume that is allocated for that tablespace?
What is the difference between spufi and qmf?
What is the physical storage length of date data type?
Which command is used to connect to a database in DB2 ? Give the Syntax.
What is null in db2?
What are catalog tables in db2?
What is image copy in db2?
What does db2 stand for?
What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?
What is runstats utility in db2?
What are the 2 sqlcodes that are returned?
What are foreign keys in db2?