select * from data where sn='221' and pq='temp' order by id desc limit 4
idsntspqvaluesystemts
39735500 221 temp 19.40 1594693075 Tue 14 07 2020 04:17:55
39735487 221 temp 19.30 1594693055 Tue 14 07 2020 04:17:35
39735476 221 temp 19.30 1594693036 Tue 14 07 2020 04:17:16
39735471 221 temp 19.30 1594693034 Tue 14 07 2020 04:17:14

Tue Jul 14 04:18:05 2020 by walley