I am trying to run below query and getting the error. ERROR: This type of correlated subquery pattern is not supported due to internal error. How can I re write subquery wit