Home » MYSQL » Mysql miscellaneous » Question
  1. What will be the output of the following query?
    SELECT *
    FROM Student
    WHERE start_date BETWEEN ‘2009-05-05’ AND ‘2010-05-05’;
    1. All Student details from 2009 to 2010
    2. All Student details between 2009 and 2010
    3. All Student details before 2009
    4. All of above
    5. None of these
Correct Option: B

“BETWEEN” operator is used for upper – upper limit.



Your comments will be displayed only after manual approval.