BETWEEN operator is use from filter data range wise
BETWEEN Syntax
SELECT YourColumnName FROM YourTableName WHERE ConditionColumnName BETWEEN Value1 AND / OR Value 2
BETWEEN Example
1. SELECT * FROM Employee WHERE Salary BETWEEN 5000 AND 10000
2. SELECT * FROM Student WHERE RegisterDate BETWEEN 2018-01-08 AND 2018-01-10
BETWEEN Syntax
SELECT YourColumnName FROM YourTableName WHERE ConditionColumnName BETWEEN Value1 AND / OR Value 2
BETWEEN Example
1. SELECT * FROM Employee WHERE Salary BETWEEN 5000 AND 10000
2. SELECT * FROM Student WHERE RegisterDate BETWEEN 2018-01-08 AND 2018-01-10
No comments:
Post a Comment