不是 int默认值为0
比较时A='asdf',MYSQL先将右侧转换为int类型,就是0了