You wrote articletype instead of articletypes in the first WHERE clause: is this the problem? Regards Marco -- Marco Bizzarri http://iliveinpisa.blogspot.com/
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных