Is it possible to use subselects as joins in PostgreSQL.
pgsql-sql by date:
Соглашаюсь с условиями обработки персональных данных