Hi Alexander A. Venikov !

 AAV> select count(*) from
 AAV> (select count(some_field) from some_table where id=31)

вот же:
 AAV> COLUMN 1 is specified without a name.

 select count(*) from
 (select count(some_field) from some_table where id=31) as aaa(id)

---------------------
--~--~---------~--~----~------------~-------~--~----~
-~----------~----~----~----~------~----~------~--~---

Ответить