SELECT MAX(last_up_time)
FROM sc_lamp_rtd
where device_id in ('4G0000000025','4G0000000147')
GROUP BY device_id
sql在 多个id里获取并且都是最大时间的数据
最新推荐文章于 2023-05-22 20:19:32 发布
SELECT MAX(last_up_time)
FROM sc_lamp_rtd
where device_id in ('4G0000000025','4G0000000147')
GROUP BY device_id