In a single table,How to retrieve a employee-id of an
employee who works in more than one department?
Answer Posted / anonymous
select emp_id from employee where dept in (select distinct
dept from employee) group by emp_id having count(*) >1;
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Explain the function of data manager.
Which are the db2 tools to protect integrity of the database?
Can we delete records from view?
Explain about open switch business continuity software?
How do I change the column size in db2?
In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?
What is ibm db2 used for?
What is ibm db2 database?
What is the use of with ur in db2?
What kind of database is db2?
What is an instance in db2?
Where do you specify them?
Why cursor is used in db2?
Can you use max on a char column?
What is the default page size of buffer pools?