select * from data where sn='thermostat0' and pq='tout' order by id desc limit 4
idsntspqvaluesystemts
81846150 thermostat0 tout 18.31 1772915640 Sat 07 03 2026 21:34:00
81846146 thermostat0 tout 18.31 1772915619 Sat 07 03 2026 21:33:39
81846139 thermostat0 tout 18.31 1772915598 Sat 07 03 2026 21:33:18
81846135 thermostat0 tout 18.31 1772915575 Sat 07 03 2026 21:32:55

Sat Mar 7 21:34:02 2026 by walley