Hi, select case when division_no is null then 'no division' else 'with division' end from employee; Is the right syntax Regards -- Matteo Beccati http://www.phpadsnew.com http://phppgads.sourceforge.net
pgsql-sql by date:
Соглашаюсь с условиями обработки персональных данных