Skip Headers
Oracle® Database SQL Language Reference
11g Release 1 (11.1)

Part Number B28286-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

Range Conditions

A range condition tests for inclusion in a range.

range_conditions::=

Description of range_conditions.gif follows
Description of the illustration range_conditions.gif

Table 7-9 describes the range conditions.

Table 7-9 Range Conditions

Type of Condition Operation Example
[NOT] BETWEEN x AND y

[Not] greater than or equal to x and less than or equal to y.

SELECT * FROM employees
  WHERE salary
  BETWEEN 2000 AND 3000
  ORDER BY employee_id;