select * from data where sn='thermostat0' and pq='tin' order by id desc limit 4
idsntspqvaluesystemts
77767651 thermostat0 tin 23.44 1750380702 Fri 20 06 2025 02:51:42
77767650 thermostat0 tin 23.38 1750380681 Fri 20 06 2025 02:51:21
77767644 thermostat0 tin 23.44 1750380661 Fri 20 06 2025 02:51:01
77767642 thermostat0 tin 23.38 1750380640 Fri 20 06 2025 02:50:40

Fri Jun 20 02:51:55 2025 by walley