Answer the question
In order to leave comments, you need to log in
How to output SQL query correctly?
I want to display data from the table so that the point (balance) is less than two, where zadaniya (tasks) are included, that is, they are equal to one
I do this, but it does not display correctly
SELECT * FROM `users` WHERE `point` < '2' OR `zadaniya` = '1'
SELECT * FROM `users` WHERE `point` < '2'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question