Postgresql Inner Join Subquery