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 the reason behind not using select * in embedded sql programs?
How to test SQL -911 error while developing COB-DB2 program
How do I import a csv file into db2?
What is temporal table in db2?
I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?
Discuss about db2 bind?
What is node in db2?
How to execute stored procedure in db2 command editor?
Explain about open switch business continuity software?
What is the maximum length of sqlca?
Which component is responsible for db2 startup and shutdown?
What is db2 stogroup?
What is role in db2?
What is the max length of sqlca?
What is release/acquire in bind?