I have a sql query which works well. but the only problem with it
is its extremely slow.Its a compound query and i have to query DB2
database.