DB2 SQL query update to improve performance