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 get last row id?
How to view existing locks on the database?
How to start your 10g xe server?
What is parameterized cursor in oracle?
Does oracle charge for java?
ABOUT IDENTITY?
how may join possible between (requisition with purchase order)
What spfile/init.ora file parameter exists to force the CBO to make the execution path of a given statement use an index, even if the index scan may appear to be calculated as more costly?
How to test null values?
How to drop a tablespace?
Explain constraining triggers.
Where are the settings stored for each instance in oracle?
what are steps for interface? where is exchange rate defined in which table?
How to best split csv strings in oracle 9i?
What is oracle server autotrace in oracle?