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 the maximum No of rows per page?
What is a db2 table?
What is db2 bind process?
Explain about rct in db2?
How can you validate Sql errors during cursor operation in db2 pgms and where do you code?
What are catalog tables in db2?
Which component is used to execute the sql statements?
What is meant by union and union all?
Define data page.
How do I add a column to an existing table in db2?
Why do chiropractors use drop table?
Why do we bind in db2?
What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
What's The Percentage Free Space ?