how to optimise the given db2 query,
问题 Consider my DB2 query as below. Select something from some tables, (select something from some tables where bhla=bhla Unionall select something from some tables where bhla=bhla union select something from some tables where bhla=bhla) x where bhla=bhla and it looks like select x.something, y.somethingelse from table y, (select something from some tables where bhla=bhla Unionall select something from some tables where bhla=bhla union select something from some tables where bhla=bhla) x where