我的声明如下:
SELECT * FROM users WHERE division >= '0' AND division <= '10' AND voice = '0' ORDER BY username DESC LIMIT 0, 10
这不会选择除数等于 2 的用户,但是
SELECT * FROM users WHERE division >= '1' AND division <= '9' AND voice = '0' ORDER BY username DESC LIMIT 0, 10
将选择用户
为什么是这样?感谢您提供任何帮助。