Skip to content
Advertisement

WHERE clause is not filtering all specifications

I’m trying to make a query with different specifications in WHERE clause and some of them are being ignored.

I guess there’s some clause that I’m losing in front of my eyes.

Advertisement

Answer

Wrap this part in parenthesis

Example

Basically the naked OR is throwing off your results.

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