This falls under the stupid question and i'm just curious what other people think what makes a query complex?
pgsql-performance by date:
Соглашаюсь с условиями обработки персональных данных