SELECT * FROM employees WHERE to_char(birth_date,'ddd')::int-to_char(now(),'DDD')::int BETWEEN 0 AND 8 ORDER BY birth_date;