SELECT * FROM table WHERE someColumn BETWEEN 1 AND 100 SELECT * FROM table WHERE someColumn >= 1 AND someColumn <= 100
一个对另一个有潜在的性能优势吗?
通过使用BETWEEN版本,您可以在某些情况下避免功能重新评估.