select emp_id from emptable where emp_id BETWEEN 5 and 10;
This will list
5
6
7
8
9
10
because the range on BETWEEN clause is inclusive of the test values on databases using ANSI SQL.
Subscribe to:
Post Comments (Atom)
of what I learned today
No comments:
Post a Comment