根据当前用户查询一条记录
程序员文章站
2022-05-17 20:10:30
...
这里主要是通过创建时间和用户id来筛选
SELECT
*
FROM
sta_papers_statistical
WHERE
teacher_id = '1248103043254280194'
ORDER BY
create_time DESC
LIMIT 0,
1;