In a single table,How to retrieve a employee-id of an
employee who works in more than one department?
Answer Posted / venkat
select emp-id from emp group by emp-id having count(*)>1;
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How to access db2 tables in mainframe?
What are the various data types available in db2?
Is it possible to create an Instance in DB2 using DB2 Control Center ?
What is db2 instance?
What is the usage of open cursor command?
What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?
What is check constraint in db2?
What do you mean by storage group (stogroup)?
What is host variable in db2 cobol?
What is a db2 tablespace?
Highlight all the advantages that are attached to a package.
What is alias in db2?
What does sqlcabc has?
How does db2 sample database connect?
What is sqlca?