keksuss Posted May 1, 2006 Report Share 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? Link to comment Share on other sites More sharing options...
DIVX5 Posted May 1, 2006 Report Share 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 Link to comment Share on other sites More sharing options...
Vebers Posted May 1, 2006 Report Share Posted May 1, 2006 (edited) SELECT id FROM tabula WHERE id BETWEEN 5 AND 10 Edited May 1, 2006 by MakaTaNaw Link to comment Share on other sites More sharing options...
keksuss Posted May 1, 2006 Author Report Share Posted May 1, 2006 Aha, paļdis! šancē! Link to comment Share on other sites More sharing options...
Recommended Posts