postgresql query has no destination for result data

visit shbcf.ru