select * from data where sn='thermostat0' and pq='tout' order by id desc limit 4
idsntspqvaluesystemts
27689760 thermostat0 tout 15.63 1573572932 Tue 12 11 2019 16:35:32
27689757 thermostat0 tout 15.56 1573572903 Tue 12 11 2019 16:35:03
27689754 thermostat0 tout 15.63 1573572875 Tue 12 11 2019 16:34:35
27689753 thermostat0 tout 15.63 1573572846 Tue 12 11 2019 16:34:06

Tue Nov 12 16:36:05 2019 by walley