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 grant create session privilege to a user in oracle?
What is the difference between substr & instr functions?
Explain oracle insert into command?
What are the advantages of oracle?
What is a lookup table in oracle?
Difference between cartesian join and cross join?
From the following identify the non schema object: packages, triggers, public synonyms, tables and indexes.
Explain the difference between a procedure and a function? What do you understand by those terms?
How will you identify oracle database software release?
What is oracle in java?
How to shutdown your 10g xe server?
Explain coalesce function?
How to use "in" parameter properly?
Whether any commands are used for months calculation? If so, what are they?
What is memory advisor in Oracle?