12 2021 档案

摘要:SELECT * as total FROM ( (SELECT live_msg.id AS oid from stat_user_liver_refer_stock,live_msg WHERE l_id not in ($liveLids) and live_msg.rec_time>DATE 阅读全文
posted @ 2021-12-30 16:15 17601621550 阅读(495) 评论(0) 推荐(0)
摘要:现有:user 用户表 user_msg 用户文章表 需求:批量取一定时间范围内注册的各个用户发表的前3条文章 select * from user_msg a where a.u_id in (SELECT id FROM `user` where rec_time>="2021-11-07") 阅读全文
posted @ 2021-12-07 18:27 17601621550 阅读(1427) 评论(0) 推荐(0)