SELECT * FROM (
SELECT
(@i:=@i+1) as i, id, data_send_time
FROM
jl_pims_machine_time mt,(select @i:=0) as it order by mt.id desc
) tmp
WHERE
i IN (1,3,5)
2022-11-29 08:12:28
SELECT * FROM (
SELECT
(@i:=@i+1) as i, id, data_send_time
FROM
jl_pims_machine_time mt,(select @i:=0) as it order by mt.id desc
) tmp
WHERE
i IN (1,3,5)