I am looking for a where clause that can be used to retrieve records for the last 24 hours?
where
select ... from ... where YourDateColumn >= getdate()-1