In a single table,How to retrieve a employee-id of an
employee who works in more than one department?

Answer Posted / ram.g

ans 5 need to be corrected...

subquery will fetch correct result but main query hw it
will compare... ???

it supposed to be where eid exists(select eid...where
e1.eid= e2.eid)

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the usage of open cursor command?

599


What is scrollable cursor in db2?

583


Explain the function of data manager.

632


What is dpf in db2?

664


Define data page.

632






What is bufferpool in db2?

578


What is the physical storage length of the data types: date, time, timestamp in the db2 database?

648


What is db2 catalog database?

582


Why do chiropractors use drop table?

660


Is it possible to create an Instance in DB2 using DB2 Control Center ?

631


Explain the benefits you can get from mainframe connect?

520


How to create backup table in db2?

644


what is the role of the cursor in db2?

641


What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?

710


What do you mean by rollback?

572