Can anyone help me with sql for this issue?

I need to get the data from Last year starting Date From 01-Jan-2012 to current date i.e. 27th June 2013... Upper limit I can have as SYSDATE. Can some one help me how to get the start date for last year?

SELECT TRUNC ( (TRUNC (SYSDATE, 'YYYY') - 1), 'YYYY') FROM DUAL;
can be used.
Cheers,
Manik.

Similar Messages

  • Can anyone help me with advice for a replacement hard drive

    Hi there,
    Can anyone help me with advice for a replacement hard drive and RAM upgrade for my Mac Book Pro 5,3
    Its 3 years old & running Snow Leopard 10.6.8
    I do a lot of audio & movie work so performance is important.
    The logic board was replaced last summer & I was advised to replace the hard drive then...oops
    Anyway it has limped on until now but is giving me cause for concern...
    I have found a couple of possibilities below...so if anyone does have a moment to take a look & help me out I would be most grateful
    http://www.amazon.co.uk/Western-Digital-Scorpio-7200rpm-Internal/dp/B004I9J5OG/r ef=sr_1_1?ie=UTF8&qid=1356787585&sr=8-1
    http://www.amazon.co.uk/Kingston-Technology-Apple-8GB-Kit/dp/B001PS9UKW/ref=pd_s im_computers_5
    Kind regards
    Nick

    Thanks guys that is so helpful :-)
    I will follow your advice Ogelthorpe & see how I get on with the job!!! Virgin territory for me so I may well shout for help once my MBP is in bits!! Is there a guide for duffers for this job anywhere??
    & yes in an ideal world I would be replacing my old MBP but I'm just not in a position to do that at the moment....let's hope things pick up in 2013
    All the very best
    Nick

  • I'am getting an update error when am trying to upgrade to newer version (4.3.2)..the error message content shows that i tunes could not back up the i pod,because the back up was corrupt or not compatible with ipod..can anyone help me out to fix this issue

    I'am getting an update error when am trying to upgrade to newer version (4.3.2)..the error message content shows that i tunes could not back up the i pod,because the back up was corrupt or not compatible with ipod..can anyone help me out to fix this issue

    Hi,
    Try here:  http://support.apple.com/kb/HT1808. 
    Hope this helps! 
    ---likeabird---

  • Can anyone help me with Mail for Mac passwords?

    I have been using Mail (on my MacBook Pro running OS 10.8.2) quit happliy for some time. I have several accounts for good reason. Recently two of the accounts started asking me to enter my password (see screen shot below). Having done so too many time, my account became locked and I had to go through Yahoo mail to reset it (with help from BT). In the end I had to change three passwords. While two of them are now being accepted by Mail, the third is not. Can anyone help?

    I should also say, that I have now upgraded to 10.8.3 and following the advice elsewhere, the password saved in my keychain access is the correct one.

  • Can anyone help me with compressions for web streaming? So lost!

    Hi there
    I am so confused !
    I have the task of getting HD footage from my camcorder ready for quality web-streaming on a website. The clips need to be in mp4 format using the H264 codec. As we are dealing with HD footage, I want the viewer to be very happy with the picture quality. I must admit that most of my compression settings were kind of guess work and I was only judging my results by the final file size in relation to the video quality. I was getting file sizes of about 16mb per minute of video/ audio footage.
    I had been keeping my frame size at 1280x720 and my bit rates were about 2000-2500kbits/s. Bandwidth is a real concern as there will be alot of people streaming these videos and there might be over a hundred videos on offer at any one time. I found that bit rates any less than this were resulting in a poor picture quality.
    I have since learnt that what I was doing is completely wrong!
    I was told that my frame size was way too big for normal web-streaming of HD footage and also that my bit rate was too high and bandwidth hungry. I never knew that the bit rates I set when compressing my videos would have an effect on the bandwidth that would be used. I am obviously showing my ignorance!
    If anyone has anytime to help out someone who has no idea, I would absolutely love to know the answers to these questions:
    1. What is considered a good acceptable frame size to show HD quality footage? Maybe a size that if the quality is OK, they can also stretch the frame afterwards to fill their screen without losing too much quality?
    2. I want to use mp4 with the H264 codec for streaming, what is an efficient bit rate to set the compression at, so that the quality looks nice, but wont drain my bandwidth unnecessarily?
    3. Can anyone explain how the bit rates that I set for my compressions affect the way they are downloaded once they are on a website. Just cant get my head around this logic for some reason?
    4. What other compression settings should I be aware of (eg. keyframes etc)
    I feel so lost in all of this and would appreciate it tremendously if anyone can help me out.
    Dan

    If I select a bit rate of say 2500 to compress my videos at, what will that now mean for the end user? Will that mean that his connection will be forced to download that video at 2500kbp/s thus using alot more bandwidth?
    Yes and no. If the end user has a connection that allows them to receive data at 2500 and the source from the web can supply data at that speed then they'll be able to stream in real time. However, if either end doesn't hold up (the client's connection can't receive data that fast or the source can't send it) then end users will be forced to watch it on delay - letting a good portion of the movie download first. QuickTime will do this anyway - if you (as I do) embed a movie into a webpage, when you visit that page QuickTime will calculate how fast data is being sent and received, and decide when to start the movie based on that calculation.
    I was told that the bit rate I set when I compress these files locally on my machine, tell the streaming software how to allow users to download them - is that true or have I got all mixed up?
    You keep saying streaming and I'm not sure exactly what you mean. Streaming can either mean having a finished file on the web that people can watch with minimal downloading in advance, or streaming can mean sending a live event out over the web. I think you mean the first. In that case, there is no streaming software on the server side - it's just a file that gets sent to a client just like any other file. The bitrate however does tell the client software, like QuickTime player when to start playing the movie (As I alluded to above).
    If you really want to "stream" content - in other words allow people to go to page and start watching then I'm going to suggest you distribute in multiple formats. QuickTime has a number of presets you can use for "streaming", and these are usually small (320*240 or 640*480) videos that are under 1 Mbps (often less than 500 kbps). These files can normally be watched in real time by most clients.
    The other catch with the route you're going is that some computers simply can't handle 720p content that is encoded in h.264 - they just don't have the power. If you look at podcasters many of them have chosen to go multiple formats in part for this reason - they have video embedded on their websites for watching in real time, small iPod formats for lower-power computers and iPods, and HD formats for platforms like the Apple TV that offer the best quality.

  • Im importing cds onto my itunes but they are coming up with no track names/artists etc, itunes is saying i have no internet connnection but im on my laptop and im online, can anyone help? ive never had this issues before? they are legit cds from HMV?

    Im trying to import cds i got for xmas onto my itunes and they arecoming up with no artist/album cover or track names, when i click get track info it says i have not internet connection, but im on my windows laptop and can get on the internet, is there something i need to so in itunes tmake it rcognise the album details?

    Hey there lollypops21,
    It sounds like you are connected to the internet otherwise, but iTunes is giving you this error message when trying to get info from the Gracenote database to retrieve your album info. I had a couple of articles I wanted to recommend you try. First this one named:
    iTunes for Windows can't access the Internet if proxy settings are incorrect
    http://support.apple.com/kb/ts1490
    You can always enter in the album information manually with this article if needed:
    iTunes 11 for Windows: Edit song and CD information
    http://support.apple.com/kb/PH12360
    Customize song and CD info
    You can edit information in the Info window to make it easier to find and sort items in your library. For example, you can:
    Group individual movements on a classical CD into one work by indicating the name of the work (for example, “Piano concerto in A Minor, Op. 54”) in the Grouping field.
    Group songs that are part of a compilation together in your library by clicking the Info button and selecting the “Part of a compilation” checkbox.
    Identify the individual artists on a tribute album in the Artist field, and type “various” in the Album Artist field.
    Create your own genre category by clicking Info and typing the category in the Genre field.
    Change the order in which tracks on a CD play by changing the numbers in the Track Number fields.
    Create a Smart Playlist that includes only songs that are just the right speed for your workout by typing the number of beats per minute in the BPM field. For instructions, see Create a Smart Playlist.
    Identify a movie as a music video (click the Options button, and choose Music Video from the Media Kind pop-up menu).
    Identify an item that you imported from a CD as an audiobook, so it appears under Audiobooks instead of Music (click the Options button and choose Audiobook from the Media Kind pop-up menu). If you do this, iTunes also remembers your place in the audiobook.
    Enter custom sorting criteria for an item. Select the item, choose File > Get Info, click Sorting, and enter the custom text.
    iTunes retrieves CD information from the Gracenote media database. For more information, visit the Gracenote website.
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • I need to reinstall my operating system for 10.5 after seeing a file folder and question mark flashing on my start up screen. Can anyone help me with this?

    I need to reinstall my operating system for 10.5 after seeing a file folder and question mark flashing on my start up screen. Can anyone help me with this?

    Hello,
    That means it can find the Hard Drive, or can't find the things needed for booting.
    See if DU even sees it.
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)

  • My search bar for my library no longer works. Also, the menu bar is no longer visible. Noticed this problem last Saturday. Can anyone help me with this?

    My search bar for my iTunes library no longer works. Also, the menu bar is no longer visible. Noticed this problem last Saturday. This might be an issue with my desktop, and not iTunes itself Can anyone help me with this?

    Press Ctrl-B to toggle the menu bar on and off.
    When you say that the "search bar for my iTunes library no longer works" can you be more specific?  The operation of the search function has changed in iTunes 12, essentially having two very distinct modes:
    when Search Entire Library is checked, entering a search string will generate a dropdown of all matching items within your whole library, from which multiple operations are available via context menus
    when Search Entire Library is unchecked, entering a search string creates a filtered view of whatever your current focus is (e.g., if you're looking at a playlist the filter applies only to items in that playlist) with none of the dropdown options as in the first case

  • I have updated to the new version of iPhoto but it will no longer let me edit text in the preset text boxes.  The text is highlighted for a nanosecond but will not stay highlighted so I can amend it.  Can anyone help me with this.  Many thanks.

    I have updated to the latest version of iPhoto.  But now iPhoto will not let me amend the preset text in the text boxes.
    the text is highlighted for a nano second but it will not stay highlighted so that I can add my own text.
    can anyone help me with this issue.
    Many thanks

    You might try using the add-on 'NoSquint' which allows numerous zoom options specific to each page you visit & keeps your settings - https://addons.mozilla.org/en-US/firefox/addon/nosquint/
    If you want to go back to 3.6x, you will find it here:
    http://www.mozilla.com/en-US/firefox/all-older.html
    In most cases you can simply "upgrade" (meaning downgrade) directly from the installation. It would be a good idea to save your passwords & bookmarks just to be on the safe side.

  • I want to buy Diamonds for my tos game but it come out a message ask me to contact itune support, can anyone help me with this? Cuz I had tried for a long time but still can't buy.

    I Want to buy diamonds for my tos game but it come out a message ask me to contact itune support. Can anyone help me with this? What should I do so that I can buy my diamonds?

    You can contact iTunes support via this page and ask them why the message is appearing (on these forums we won't know why) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then try selecting Purchases, Billing & Redemption

  • I just received photoshop elements 10 that I bought used thru Ebay, for my OSX Mac 10.5.8. I put the discs in my computer and nothing happens to help me download it. Can anyone help me with this instillation challenge?

    I just received photoshop elements 10 that I bought used thru Ebay, for my OSX Mac 10.5.8. I put the discs in my computer and nothing happens to help me download it. Can anyone help me with this instillation challenge?

    Does your mac have an intel processor or PowerPC processor?
    System requirements | Adobe Photoshop Elements
    Did you insert the disk that is labeled mac os?
    After you insert the disk, it should show on your desktop.
    If you double click on the the disk icon on the desktop, does anything happen?
    more info about the included disks:
    FAQ: Installing Elements 10, or What do all these disks do?

  • When i connect i5 to itunes .. i dont get "delete" option for songs upon right click .. can anyone help me with this plz?

    when i connect i5 to itunes .. i dont get "delete" option for songs upon right click .. can anyone help me with this plz?

    Yes, annoying. A couple of options:
    While it's playing the current A song, click on the H song to select it (but not double click to play it), when iTunes jumps to the second A song, press the down key and iTunes will remember that you had that H song selected and will move the selection to the second H song while the second A song is still playing. So, still jumps around, but easy to get back to where you were.
    Create a new playlist for your music, right click on it, select "New Window" and you can browse your music in a second list while the first window continues to play music. But if you then start playing music in that second window, you have to go back to the first window if you want to start browsing again. Not great if you're navigating around to play the next song.
    Play music from iTunes DJ, then as you're browsing around your library, you can add things to play next in DJ, and go back. You can combine this with previous suggestion, to keep DJ open in one window while you browser in the other window.
    None of these are great, but maybe one of these works better than your current workflow.

  • I want remove some dark spots on a hand and color it flesh color.  I'm very new to Lightroom, can anyone help me with this?  Thanks in advance for any help!

    I want remove some dark spots on a hand and color it flesh color.  I'm very new to Lightroom, can anyone help me with this?  Thanks in advance for any help!

    Have you tried the Spot Removal tool (press Q key)?
    New to Lightroom? Go here: Getting Started with Lightroom CC - YouTube
    Spot removal: Lightroom CC - Removing Dust Spots and Imperfections - YouTube

  • Bought a new HD for my Mac mini, and now i can not do anything, i press com r and nothing appears, only gray screen and then appears a folder with a ? in it, can anyone help me how to solve this. Thank you

    ought a new HD for my Mac mini, and now i can not do anything, i press com r and nothing appears, only gray screen and then appears a folder with a ? in it, can anyone help me how to solve this. Thank you

    Thank you so much for your attention, it is allready working well.

  • Can anyone help me with a problem i am having with my music on my iPhone 4S. I have put alot of Compilation CDs in my library on iTunes. I download these tracks onto my phone, everything is ok so far. Now, this is what is niggling me and I don.t know how

    Can anyone help me with a problem i am having with my music on my iPhone 4S. I have put alot of Compilation CDs in my library on iTunes. I download these tracks onto my phone, everything is ok so far. Now, this is what is niggling me and I don.t know how to resolve it. This is my problem: 
    Have downloaded for example: Queen – Bohemium Rhapsody from a compilation album as well as a few complete Queen Album CDs into the iTunes library and then put them into playlists,
    When I go onto my phone and select Queen on the MUSIC app using Songs tab at the bottom of the screen it will display all Queen songs and their resective Alum pics, that is all those not in a complilation album, .
    If I know the song title I can select the songs tab and find the song that way,
    I’ve tried fiddling with the settings in the iTunes app by going to ‘get info’ tab and trying to sort the problem out that way but am not having much luck.What I want the phone to do is show, for example all Queens songs including those in compilation albums. Can this be done, would be grateful for any ideas on how it can be done, that is if ic can be done, any ideas
    Thanks for your help

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

Maybe you are looking for