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 / suleman
Try this one
select ACC.NO,ACC.NAME
FROM ACCOUNT
group by ACC.NO
HAVING COUNT(*) > 1
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the difference between spufi and qmf?
What is deadlock in db2?
How many types of page locks can be held in db2?
What is access path in db2?
What is a page in db2?
What is a trigger in the db2 database?
What do you mean by rollback?
Comment whether dclgen is mandatorily used. If not, then what is the point of using it?
What is the use of db2?
What is the difference between cursor stability and repeatable read isolation levels?
Explain about rct.
is it compulsory commitment control in journal?
Are views updateable?
Explain the benefits you can get from mainframe connect?
What is a storage group (stogroup)?