select * from data where sn='ds1' and pq='temp' order by id desc limit 4
idsntspqvaluesystemts
39738910 ds1 temp 18.87 1594698380 Tue 14 07 2020 05:46:20
39738893 ds1 temp 18.87 1594698358 Tue 14 07 2020 05:45:58
39738881 ds1 temp 18.87 1594698336 Tue 14 07 2020 05:45:36
39738861 ds1 temp 18.87 1594698314 Tue 14 07 2020 05:45:14

Tue Jul 14 05:46:34 2020 by walley