top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

SQL: Display the list of employee who have joined the company before 30-jun-90 or 31-dec-90?

0 votes
2,533 views
SQL: Display the list of employee who have joined the company before 30-jun-90 or 31-dec-90?
posted Jun 4, 2018 by Deepika Goutam

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

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';
answer Jun 4, 2018 by Salil Agrawal
...