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 about open switch business continuity software?
What is with ur in db2?
What is isolation level in db2?
What do you mean by cursor?
What is meant by union and union all?
What are host variables in db2?
What are the benefits of using the db2 database?
Which is faster delete or truncate?
Mention the definition of cobol in varchar field.
What is dbrm?
What is blu acceleration in db2?
What is buffer pool?
What is copy pending status in db2?
What is rct?
How do I optimize a query in db2?