stencilz Posted January 27, 2007 Report Posted January 27, 2007 datubāzē ir lauks kurā ir skaitlis, caur get tiek padots skautlis 1 un 5, un man vajadzētu lai izvēlas visus laukus no datubāzes kur skaitlis ir no 1 līdz 5. kā to izdarīt?
Delfins Posted January 27, 2007 Report Posted January 27, 2007 Kā parasti skaitlis >= no and skaitlis <= lidz
stencilz Posted January 27, 2007 Author Report Posted January 27, 2007 nu, jā neidomājos tik vienkāršu lietu. paldies
andrisp Posted January 27, 2007 Report Posted January 27, 2007 SELECT * FROM tabula WHERE x BETWEEN 1 and 5
Recommended Posts