select * from data where sn='ds0' and pq='hum' order by id desc limit 4
idsntspqvaluesystemts
27201217 ds0 hum 57.60 1571624358 Mon 21 10 2019 04:19:18
27201212 ds0 hum 57.50 1571624336 Mon 21 10 2019 04:18:56
27201205 ds0 hum 57.60 1571624315 Mon 21 10 2019 04:18:35
27201198 ds0 hum 57.60 1571624293 Mon 21 10 2019 04:18:13

Mon Oct 21 04:19:42 2019 by walley