I am trying to include many sub-queries in a single query and then trying to merge 3 of the sub-queries using the join operations. The subqueries run well when ran alone, bu