euphoric Posted September 30, 2010 Report Share Posted September 30, 2010 Sveicināti! Ir vaicājums ar WHERE un vairāk nekā diviem AND . Sāk gļučīt, rezultāts.., tā ir tikai man vai arī mysql bags ? Pāldies=) Quote Link to comment Share on other sites More sharing options...
Grey_Wolf Posted September 30, 2010 Report Share Posted September 30, 2010 (edited) Sāk gļučīt, rezultāts.., tā ir tikai man vai arī mysql bags ? Nee SQL briivi apstraada vairkus logiskos opertorus. Visticamak kaa kautkur esi pielaidis kljuudu , varbut pamegjini pasha pieprasijumaa izmantot iekavas, tik jaskatas lai logika nepazustu. piem: (x=y AND z=u) OR (v=r AND b=cc) protams viss atkariigs no situacijas ... Edited September 30, 2010 by Grey_Wolf Quote Link to comment Share on other sites More sharing options...
Roberts.R Posted September 30, 2010 Report Share Posted September 30, 2010 SELECT * FROM southparkchars WHERE fname = Randy AND lname = March Šādā primitīvā sintaksē visam vajadzētu strādāt. Quote Link to comment Share on other sites More sharing options...
euphoric Posted September 30, 2010 Author Report Share Posted September 30, 2010 =>Roberts.R ..Nu tik primitīvā jā =) =>Grey_Wolf ..Sametu iekavas, viss oke, paldies =) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.