Skip Headers

Oracle9i SQL Reference
Release 2 (9.2)

Part Number A96540-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
Feedback

Go to previous page Go to next page
View PDF

Range Conditions

A range condition tests for inclusion in a range.

range_condition::=

Text description of conditions3.gif follows
Text description of range_condition


Table 5-8 describes the range conditions.

Table 5-8  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;