select * from data where sn='ds0' and pq='temp' order by id desc limit 4
idsntspqvaluesystemts
20703342 ds0 temp 16.40 1558464543 Tue 21 05 2019 20:49:03
20703329 ds0 temp 16.40 1558464522 Tue 21 05 2019 20:48:42
20703319 ds0 temp 16.40 1558464500 Tue 21 05 2019 20:48:20
20703308 ds0 temp 16.50 1558464478 Tue 21 05 2019 20:47:58

Tue May 21 20:49:22 2019 by walley