The less-than operator (<) returns rows where one expression has a value less than another expression.
Less-than conditions are useful for identifying records below business thresholds or within specific ranges.
Find products with a price below ₹1,000.
SELECT
ProductName,
Price
FROM Products
WHERE Price < 1000;
It is commonly used for price analysis, age analysis, transaction thresholds, inventory monitoring, and performance reporting.
- < means less than.
- It excludes values equal to the threshold.
- It can compare numbers and ordered values.
- It is commonly used with WHERE.
- It supports threshold-based analysis.
What does < mean in SQL?
It returns values that are less than the specified comparison value.
Does Price < 1000 include 1000?
No. The less-than operator excludes the value that is exactly equal to 1000.