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
how to do daily transactions with out sql* loader control file regesterd in apps?
What is format trigger?
How to drop a stored procedure in oracle?
Explain a private synonyms?
How to create lov dynamically at runtime & attach to text field?
How does oracle handle read consistency?
What do you mean by a tablespace?
How do I use os authentication with weblogic jdriver for oracle and connection pools?
Why should I use oracle database?
How to create a new table in your schema?
Respected sir, Please send me technical questions related to oracle apps..
What are the limitations of check constraint?
How many memory layers are in the oracle shared pool?
What are the differences between char and varchar2 in oracle?
Is there a function to split a string in plsql?