between的边界

SELECT id FROM `tf_article` WHERE id BETWEEN 1 and 3;

实践证明,包含头和尾。

原文地址:https://www.cnblogs.com/jiqing9006/p/13468955.html