top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

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

0 votes
82 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
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...