Answer the question
In order to leave comments, you need to log in
Why does WHERE `d` = 0 select the row with value 'code: 404'?
`d` tinytext COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
I'm writing a query:
a string with a value of 'code: 404'
is selected, so it is not selected:
Why? SELECT * FROM `table` WHERE `d` = 0
SELECT * FROM `table` WHERE `d` = '0'
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