Skip Headers
Oracle® Database SQL Reference
10g Release 2 (10.2)

Part Number B14200-02
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
PDF · Mobi · ePub

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;