Types of SQL Operators
SQL Arithmetic Operators
- ADD
- Subtract
- Multiple
- Divide
- Modulo
SQL Bitwise Operators
- And
- OR
- exclusive OR
SQL Comparison Operators
- Equal to
- Greater than
- Less than
- Greater than or Equal to
- Less than or Equal to
- Not equal to
SQL Logical Operators
- All
- And
- Any
- Between
- Exists
- In
- Like
- Not
- OR
- Some
SQL ALL Operator
The LESS THAN or EQUAL TO operator is Comparison operator.The LESS THAN or EQUAL TO operator returns the record based on condition on right side of the <= signs.
Syntax
Syntax
SELECT
[ID]
,[Category]
,[SubCategory]
,[Type]
,[Direction]
,[Model]
,[Side]
,[Supplier]
,[ItemCode]
,[ItemName]
,[PurchasePrice]
,[ReorderPoint]
,[OpeningStock]
,[Location]
,[MeasurementUnit]
FROM [tbl_ItemR]
WHERE ID <= 10;
The result of above SQL Statement is shown in Fig. below.
As the image above shows the record where ID is less than or equal to 10, which also includes the record at 10.
For further question please mail: brainstormiert@gmail.com
For further question please mail: brainstormiert@gmail.com