My data (tyreinfo) table is this:
width | ratio | rim
------+-------+----
35 | NONE | 40
40 | NONE | 90
22 | 22 | 70
when I tried mysql query
SELECT * from tyreinfo WHERE ratio=NONE
it gave me an error: Unknown column 'NONE' in 'where clause'. But this query works when I tried
SELECT * from tyreinfo WHERE ratio=22
I also tried:
SELECT * from tyreinfo WHERE ratio='NONE'
It gives me no results. What is the correct query?