Basically, i want to go back one day and find the data using query...
This is what i have so far:
select price from SAMPLE_DATA
where trunc(date) = '11-FEB-13'
However, when i tried using:
select price from SAMPLE_DATA
where trunc(date) = trunc(date-1)
this doesn't return anything. So is there anything wrong?
Thanks