Im trying to do a SELECT * to retrieve rows for last 7 days in SQLite.
the table structure is as follows
CREATE TABLE \'session\' (\'rowID\' INTEGER
SELECT * FROM session WHERE stop_time > (SELECT DATETIME('now', '-7 day'))
Refer to the documentation