tblEmployee
ID Name Salary
1 E1 10000
2 E2 20000
3 E3 30000
4 E4 40000
5 E5 50000
Query:
select * from tblEmployee where Salary between 10000 AND 40000
Output:
1 E1 10000
2 E2 20000
3 E3 30000
4 E4 40000
But when I use the below query, I got no results. Why?
select * from tblEmployee where Salary between 40000 AND 10000