Skip to content
Advertisement

When using an OR operator, will the query return left condition over the right?

I want to return a single row but want one query to qualify the two conditions.

For example

When I query this, will this return the first row it finds that has an admin value less than 10? If not, how would I achieve this?

Advertisement

Answer

You can do this using order by. I would suggest:

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement