In a single table,How to retrieve a employee-id of an
employee who works in more than one department?
Answer Posted / ab
Select emp_id from employee where dept IN (select DISTINCT
dept from employee);
| Is This Answer Correct ? | 2 Yes | 8 No |
Post New Answer View All Answers
How to check table size in db2 sap?
Which component is used to execute the sql statements?
Why do we need reorg in db2?
How can you do the explain of a dynamic sql statement?
What is meant by explain?
What is a bind in db2?
How to find the number of rows in db2 tables?
Which is faster delete or truncate?
Are view updateable?
What is commit in db2?
What is the difference between dbm cfg and db cfg file in db2 ?
What is the advantage in De-normalizing tables in DB2?
What is clone table?
Why select is not preferred in embedded sql programs?
In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?