keksuss Posted May 1, 2006 Report Posted May 1, 2006 Derētu uzzināt kā var no sql db izvilkt datus, piemēram, ar vērtībām no id (auto_increment) visas starp 5 un 10?
DIVX5 Posted May 1, 2006 Report Posted May 1, 2006 Ja pareizi saprotu problēmu, tad ģeniālais query ir: SELECT ID FROM TAVA_TABULA WHERE ID>4 AND ID<11
Vebers Posted May 1, 2006 Report Posted May 1, 2006 (edited) SELECT id FROM tabula WHERE id BETWEEN 5 AND 10 Edited May 1, 2006 by MakaTaNaw
Recommended Posts