select * from data where sn='12250' and pq='temp' order by id desc limit 4
idsntspqvaluesystemts
39740433 12250 temp 25.88 1594700702 Tue 14 07 2020 06:25:02
39740227 12250 temp 25.94 1594700402 Tue 14 07 2020 06:20:02
39740028 12250 temp 25.88 1594700102 Tue 14 07 2020 06:15:02
39739825 12250 temp 25.75 1594699802 Tue 14 07 2020 06:10:02

Tue Jul 14 06:27:38 2020 by walley