Home » MYSQL » Mysql miscellaneous » Question
  1. What will be the output of the following query?
    SELECT *
    FROM Student
    WHERE start_date>=’2009-08-08’ AND Start_date<=’2007-08-08’
    1. All employees from 2009 to 2007
    2. Empty set
    3. All employees between 2009 and 2007
    4. All of above
    5. None of these
Correct Option: D

No query can have a date which is greater than ‘2009-08-08’ but less than ‘2007-08-08.



Your comments will be displayed only after manual approval.