BETWEEN AND Operator

From rbachwiki
Revision as of 18:02, 24 October 2017 by Bacchas (talk | contribs) (Created page with " The BETWEEN . . . AND comparison operator is used when searching a field for values falling within a specified range SELECT title, pubid FROM books WHERE pubid BETWEEN 1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The BETWEEN . . . AND comparison operator is used when searching a field for values falling within a specified range

SELECT title, pubid
FROM books
 WHERE pubid BETWEEN 1 AND 3

SELECT title

FROM books
 WHERE title BETWEEN 'A' AND 'D'

Back To Top- Home - Category