> select not count(*) = 0 from my_table; > > Basically, for any integer i, convert to boolean with: not i = 0 Or i != 0 of course... Chris
pgsql-sql by date:
Соглашаюсь с условиями обработки персональных данных