例如,我想在特定时间内获取一些数据; 像这样:
SELECT DISTINCT IS_ORIGINAL, IS_RELEASED, WORK_ID, IMG_URL, CREATE_TIME
FROM TB_WORK WHERE USER_ID=#{userId}
HAVING CREATE_TIME BETWEEN DATE_ADD(CURDATE(), INTERVAL #{startDays} DAY) AND CURDATE()
ORDER BY CREATE_TIME
但是我想为每天设置一个限制数,比如20,我怎么能这样做,谢谢高级。