>what if we want to return the salary too?
>the only solution is to change half of the lines in the query
How about adding a second subquery for the salary.
>the only solution is to change half of the lines in the query
How about adding a second subquery for the salary.