[mysql]Truncated incorrect DOUBLE value

1292 - Truncated incorrect DOUBLE value: '1-收费站', Time: 0.013000s
搞不懂,搞了好久。
解决:
and b.station_type=1
改成
and b.station_type='1'
由于数据中忽然别人插入一条station_type为'1-收费站'的,以前没有因此没问题。

https://cloud.tencent.com/developer/article/1495364 好文!code

相关文章
相关标签/搜索