- 博客(1)
- 收藏
- 关注
原创 数据库去重
SELECT * FROM (SELECT * FROM (SELECT * FROM `tbl_event` ORDER BY `event_time` DESC) `temp` GROUP BY device_name ORDER BY `event_time` DESC)temp1 WHERE already_revent =1 SELECT id, type, event_time
2017-09-08 11:30:33
191
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人