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
How is a typical db2 batch pgm executed?
How do I connect my db2 database to ibm?
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
What is cascading rollback?
What are the contents of a dclmgen?
How does db2 sample database connect?
What is dclgen (declaration generator)?
Before you give the explain statement, what are the prerogatives?
How do I delete a table in database?
can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well
What is db2 bind process?
How many databases are there?
How does cobol compile db2 program?
How can you validate Sql errors during cursor operation in db2 pgms and where do you code?
When do you specify the isolation level?