Can someone help me with sql for this problem?

I need to get data from last year from Date of January 1, 2012, the current date, that is June 27, 2013... Upper limit I have such as SYSDATE. Can someone help me how to get the start date of the last year?

Similarly, it can be like that!

SQL > select
TO_CHAR (add_months (trunc (sysdate, 'YYYY'),-12), 'DD-MON-YYYY') 2 start_dt
3 double;

START_DT
-----------
JANUARY 1, 2012

Tags: Database

Similar Questions

Maybe you are looking for

  • Text smeared/hazy - hardware acceleration on, page very slow/unresponsive in stop

    Other users have reported the same problem, but the solution does not work for me. The text is blurry/sale - only Facebook, probably because the page is big enough. If I disable hardware acceleration, so the text is blurred, but the page becomes almo

  • How can I remove iCloud iPhone without password?

    How can I remove my iPhone without password iCloud?

  • Yet WT8 - A - can not download pictures

    Hi all I'm just wondering if you can help me with this one please. I have a reminder of the Toshiba WT8 - A Tablet and I want to download pictures on my Toshiba Satellite laptop but the Tablet does not work as a media device and does not connect to t

  • Block diagram WARNING

    With warnings on, I get a "event data node: cluster not named or duplicate the caveat of the items appointed for each case of the event with the details of 'the cluster being bundled or unbundled by name a items without name or elements with the same

  • CHKDSK started booting XP and looks like Trojan

    On xp, nothing again except Twitter updated yesterday and CPU is running too high. In addition, MSE doesn't seem to realize the concept of cut and paste and makes it unreadable police.