select * from data where sn='ds1' and pq='temp' order by id desc limit 4
idsntspqvaluesystemts
29379016 ds1 temp 13.94 1576444410 Sun 15 12 2019 22:13:30
29378999 ds1 temp 13.94 1576444389 Sun 15 12 2019 22:13:09
29378982 ds1 temp 13.94 1576444367 Sun 15 12 2019 22:12:47
29378965 ds1 temp 13.94 1576444346 Sun 15 12 2019 22:12:26

Sun Dec 15 22:13:53 2019 by walley