Wednesday, 30 March 2011

SQL BETWEEN

SQL BETWEEN: The BETWEEN operator is used in a WHERE clause to select a range of data between two values. The values can be numbers, text, or dates.

Example

SELECT column_name(s) FROM table_name WHERE column_name BETWEEN value1 AND value2

No comments:

Post a Comment