Pgsql Postgresql Tutorial Subquery Question