I have never really messed with this type of query so I need some assistance. I have a table with a timestamp
column that contains the following
1488693506
1488576676
1488575917
1487563577
1487563170
1487352348
1487352291
1487207322
I am using the following mysql statement
SELECT * FROM table WHERE (`timestamp` > DATE_SUB(now(), INTERVAL 7 DAY))
From what I have seen this should return the last 7 days of records that are within the last 7 days from the timestamps I listed, but no records are being returned. What am I doing wrong?