select count(id) from table_message where user_id = #{userId} AND info_id = #{infoId} AND create_time BETWEEN
select count(id) from table_message where user_id = #{userId} AND info_id = #{infoId} AND create_time BETWEEN (unix_timestamp()-180) AND unix_timestamp()
--结束END--
本文标题: MYSQL查询三分钟之内是否有数据存在
本文链接: https://lsjlt.com/news/5959.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-23
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0