TempC ---- 32 27 36 30
SELECT STDEV(TempC) FROM myTable WHERE Time BETWEEN dateadd(HOUR, -4, GETDATE()) AND GETDATE()
In t