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 / s
For this scenario duplicate records will not exist in the
table as the index has been defined on the 2 primary keys.
Hence the answer is we can't pull the account holders
having more than 1 account
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is db2 restart?
How does a cursor work?
What is db2?
What is a db2 package?
How to rename a table in DB2 ?
What is the physical storage length of the data types: date, time, timestamp in the db2 database?
What is check constraint. Explain with example.
Are views updateable?
What is page size in db2?
What is dclgen (declaration generator)?
How many types of page locks can be held in db2?
Explain db2.
Comment whether dclgen is mandatorily used. If not, then what is the point of using it?
Is schema the same as database?
What is explain plan in db2?