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 / lol
select ACC.NO||ACC.Name from ACCOUNT having count(acc.no||acc.name) >1
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is meant by explain?
Why select is not preferred in embedded sql programs?
Mention the various locks that are available in db2.
What is the maximum size of varchar data type in db2?
What are the full forms of spufi and dclgen and why are they used?
How does cobol compile db2 program?
What is rebind in db2?
How to find primary key of a table in db2?
Define buffer pool.
Differentiate between cs and rr isolation levels? Where do you specify them?
What is bind package and plan in db2?
What is db2 and what is the use of db2 optimizer?
What is access path in db2?
What is a db2 table?
What is lock escalation in db2?