select * from data where sn='ds0' and pq='temp' order by id desc limit 4
idsntspqvaluesystemts
39737447 ds0 temp 19.80 1594695991 Tue 14 07 2020 05:06:31
39737429 ds0 temp 19.80 1594695969 Tue 14 07 2020 05:06:09
39737418 ds0 temp 19.90 1594695947 Tue 14 07 2020 05:05:47
39737405 ds0 temp 19.80 1594695925 Tue 14 07 2020 05:05:25

Tue Jul 14 05:06:44 2020 by walley