select * from data where sn='ds0' and pq='temp' order by id desc limit 4
idsntspqvaluesystemts
18877552 ds0 temp 16.10 1553491637 Mon 25 03 2019 06:27:17
18877547 ds0 temp 16.10 1553491613 Mon 25 03 2019 06:26:53
18877532 ds0 temp 16.10 1553491592 Mon 25 03 2019 06:26:32
18877516 ds0 temp 16.00 1553491570 Mon 25 03 2019 06:26:10

Mon Mar 25 06:27:20 2019 by walley