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 / anandrao
please try this solution also
select count(*),ACC.NO
FROM ACCOUNT
group by ACC.NO
HAVING COUNT(*) > 1
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Explain in brief how does db2 determine what lock-size to use?
can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well
B37 abend during spufi?
List down the types of triggers in the db2 database?
What are iseries servers?
How to create backup table in db2?
Comment whether the cursor is closed during commit or not.
What is cobol db2?
What os does db2 run on?
Is ibm db2 free?
How do I add a column in db2?
What are the full forms of spufi and dclgen and why are they used?
When reorg is used?
What is db2 bind?
What is a trigger in the db2 database?