query help
#1

hello, this query doesn't work, can you please help me

I want that those two conditions are verified not OR

Код:
SELECT * FROM `DATABASE` WHERE `TEST1` = '%s' AND WHERE `TEST2` = '0' ORDER BY `DATE`
Cheers!
Reply
#2

You only need one `where` clause, so :
Код:
SELECT * FROM `DATABASE` WHERE `TEST1` = '%s' AND `TEST2` = '0' ORDER BY `DATE`
Reply
#3

thank you !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)