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 the maximum size of varchar data type in db2?
What is explain in db2?
What is the max length of sqlca?
What are the benefits of using the db2 database?
How to find the number of rows in a db2 table?
What is performance tuning db2?
Is db2 a mainframe?
How do I add a column to a table in db2?
How to resolve deadlock issue
What is db2 look?
How can you count the number of rows from a table tab?
When do you specify the isolation level?
What is the use of with ur in db2?
On which levels locks can be applied?
What is schema in db2?