In a single table,How to retrieve a employee-id of an
employee who works in more than one department?
Answer Posted / varun
Select emp_id
from
employee
group by emp_id,dept
having count(*)>1;
Is This Answer Correct ? | 26 Yes | 2 No |
Post New Answer View All Answers
How do I delete a column in db2?
What is an instance database?
Is db2 a mainframe database?
How will you return the number of records in table?
Explain the function done by data manager?
Is ibm db2 free?
What is the use of with ur in db2?
What is an instance in db2?
What is the syntax for creating a table in the db2 database?
What is cobol db2?
Explain correlated sub-queries.
Why cursor is used in db2?
What are union and union all?
Can we delete records from view?
What is the cobol picture clause of the db2 data types date, time, timestamp?