Reputation: 13
How can I take the seven days before a date in Oracle SQL?
The query is
SELECT
*
FROM log
WHERE action = 'KA'
AND REPOMOD
REPOMOD
is a field Date
Upvotes: 0
Views: 3081
Reputation: 1492
select * from log where action = 'KA'
And REPOMOD >= sysdate -7
Upvotes: 2