I have a query which contains a couple of subqueries looking at the same field (different WHERE clauses). For some results the sub queries return two sets of differing data, so I have two rows for that result.
I only want it to display the one of the rows - the row with a certain value for one of the subqueries. How can I get it to only show one row, based on what is returned by the subquery?
I only want it to display the one of the rows - the row with a certain value for one of the subqueries. How can I get it to only show one row, based on what is returned by the subquery?