I want to get the Friday's date based on whatever the sysdate is.
The week_end values are the Friday's dates. My report will run every week and I want o generate a query to obtain pervious Friday.
Below is the sample query I have. Currently, my sysdate is Monday and I'm hard coding it to go back two days, but sysdate can change. How can I make it dynamic to go back to last Friday?
select sysdate -2 "week_end"
from dual

Thanks