In a single table,How to retrieve a employee-id of an
employee who works in more than one department?
Answer Posted / karthik
select dept,empid , count(*)
from table
goup by dept,empid
having count(*) > 1
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
How do I start db2 in windows?
How will you return the number of records in table?
How connect db2 database to datastage?
Which is faster delete or truncate?
How do I delete a table in database?
What is alias in db2?
What is a dbrm in db2?
When the like statement is used?
What are db2 tables?
What is the picture clause of null indicator variable?
What is db2 command?
How do you eliminate duplicate values in db2?
How many databases can be created inside an instance in db2 ?
What is a db2 table?
What's The Error Code For Unique Index Voilation?