if suppose i am having an ACCOUNT table with 3 coloumns ACC.
NO,ACC. NAME,ACC. AMOUNT . If a unique index is also
defined on ACC.NO and ACC.NAME then write a query to
retrieve account holders records who have more than 1 ACC.

Answer Posted / rihaan

Thanks a lot Mr.Mallikarjun but the inner query u wrote
alone does the work.
kindly check it up

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I add a column to a table in db2?

620


Give a brief description of db2 isolation levels?

601


have 3 tables table1, table2 and table3 which contains employee information. table1 is master table, table2 contains emp details like emp no and so on, table 3 contains emp salary. so if any emp leave company between 25th - 30th of every month it has to get updated in tables. but it is not getting updated. What is the reason.

1237


What is dclgen in db2?

678


What is a bind in db2?

593






What parameters are used to control the free space in DB2?

642


What is the maximum length of sqlca?

869


what is db2 restart?

1693


Is db2 free?

684


How do I add a column in db2?

592


How do I copy a table in db2?

575


Can there be more than one cursor open for any program?

660


What are the various data types available in db2?

634


How to access db2 tables in mainframe?

615


How to rename a table in DB2 ?

640