Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/lsp4you/public_html/connect.php on line 2 LSP4YOU - Learner's Support Publications

SELECT with BETWEEN

Q:10
Display the details of students with RollNo from 202 to 205.


SQL> SELECT * FROM STUDENT WHERE ROLLNO BETWEEN 202 AND 205;

    ROLLNO NAME                      BRANCH                    TOTAL
---------- ------------------------- -------------------- ----------
       202 BABU                      SCIENCE                     200
       203 GEORGE                    HUMANITIES                  500
       204 JIBIN                     COMMERCE                    400
       205 VARGHESE                  SCIENCE                     250