write a query that displays every Friday in a year with date?
Answer Posted / anish
select distinct next_day((sysdate-level),'FRI') as fir from dual
connect by level <=(sysdate-to_date('01-Jan-2017','dd-mon-yyyy'))
order by 1 asc
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is system tablespace?
Is there a function to split a string in plsql?
What is ordinary table in oracle?
Why do you use stored procedures and state some of its disadvantages?
Why is oracle database so popular?
How to use group functions in the select clause using oracle?
What are the differences between char and varchar2 in oracle?
How many data types are supported?
What is data file?
How to sort the query output in oracle?
How to create a stored program unit?
What is the difference between 10g OEM and 11g OEM?
How a tablespace is related to data files?
How do I decide when to use right joins/left joins or inner joins or how to determine which table is on which side?
what is difference between sql plus and sql*plus? (not sql and sql plus).