write a query that displays every Friday in a year with date?
Answer Posted / basanti meher
SELECT A_DATE, TO_CHAR(A_DATE,'DY')
FROM
(
SELECT TO_DATE('01-JAN-2016','DD-MON-YYYY')+LEVEL-1 A_DATE
FROM DUAL
CONNECT BY LEVEL <= (366)
)
WHERE TO_CHAR(A_DATE,'DY') = 'FRI'
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is a dynamic performance view in oracle?
Explain the use of online redo log files in oracle.
How many categories of data types?
How to create a server parameter file?
How to convert numbers to characters in oracle?
What is the difference between sharding and replication?
How to use "while" statements in oracle?
Is there an oracle sql query that aggregates multiple rows into one row?
what is the use of triggers in Java program? I mean where do we use triggers in Java programming?
When do you get a .pll extension in oracle?
Explain the use of file option in exp command.
How would you change old and new values in an insert, delete and update triggers?
How to rollback the current transaction in oracle?
How do I limit the number of oracle database connections generated by weblogic server?
how can we store any pdf file in oracle