It works great, very nice method :-) thanks a lot! MK
pgsql-sql by date:
Соглашаюсь с условиями обработки персональных данных