('SELECT * FROM table_name', conn) How can you add to this command so only data from the last 24 hours is selected?