aside: note the style of 'in' or 'exists' this is important because the SQL performs significantly better under some circumstances.
also datetime > dateadd(hour,-1,getdate()) can use indexes on datetime against a constant rather than adding an hour to datetime on every row and seeing if it's in the future.