Using INNER JOIN instead of nested queries, since it is more readable