Does MySQL automatically casting\converting the string to numeric value?
How does that conversion works?
- '1234'=1234 ?
- '1abc' = 1 ?
- 'text' = 1 ?
Given that units.id
is of bigint type, how this query will be interpreted?
SELECT table.*
FROM table
WHERE id='text'