Assuming the table name is - emp and it has two field empname and joindate. The following could be the sample SQL query -
> select empname from emp where joindate < '30-JUN-1990' or joindate>'31-DEC-90';