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
What is temporal table in db2?
Explain about rct.
What is explain in db2?
What are host variables in db2?
What is dbrm library?
What's The Percentage Free Space ?
Can there be more than one cursor open for any program?
What is view db2?
How can you find out the # of rows updated after an update statement?
What is db2 optimizer?
What is database alias db2?
What is drop table?
What is the syntax for creating a table in the db2 database?
List out the data types available.
When do you specify the isolation level?