You are here

Add new comment

BETWEEN - Between Two Values



    WW BETWEEN W1 AND W2 tells the DBMS , that WW must be between W1 and W2.


SELECT vnum,anz,preis
 FROM torder
 WHERE preis BETWEEN 100 AND 500

Here are the fields vnum and preis from the table torder selected, where the field preis have an value between 100 and 500.