select * from data where sn='ds0' and pq='temp' order by id desc limit 4
idsntspqvaluesystemts
22759816 ds0 temp 21.40 1563675561 Sun 21 07 2019 04:19:21
22759806 ds0 temp 21.40 1563675540 Sun 21 07 2019 04:19:00
22759795 ds0 temp 21.40 1563675518 Sun 21 07 2019 04:18:38
22759779 ds0 temp 21.40 1563675497 Sun 21 07 2019 04:18:17

Sun Jul 21 04:19:43 2019 by walley