Please tell me the error in the query

select last_name,hire_date,
trunc(months_between(sysdate,hire_date)/12) years,
trunc (months_between(sysdate,hire_date)/60) "years divided by 5"
CASE trunc(months_between(sysdate,hire_date)/60)
WHEN 0 then 'intern'
WHEN 1 then 'junior'
WHEN 2 then 'intermediate'
WHEN 3 then 'senior'
ELSE 'furniture'
END loyalty
FROM employees
where department_id in (60,10)

use this query u have missed the (,) in years divided by 5
select last_name,hire_date,
trunc(months_between(sysdate,hire_date)/12) years,
trunc (months_between(sysdate,hire_date)/60) "years divided by 5",
CASE trunc(months_between(sysdate,hire_date)/60)
WHEN 0 then 'intern'
WHEN 1 then 'junior'
WHEN 2 then 'intermediate'
WHEN 3 then 'senior'
ELSE 'furniture'
END loyalty
FROM employees
where department_id in (60,10)kanish

Similar Messages

  • In the libary of iPhoto I do have double pictures only in the year 2006. Can someone please tell me how to remove the double pictures. I did rebuilt the libary but that solution did not help me any further.

    In the libary of iPhoto I do have double pictures only in the year 2006. Can someone please tell me how to remove the double pictures. I did rebuilt the libary but that solution did not help me any further.

    I think the warning is very clear.
    What warning? Where do you say that this plan you suggest will lose at least some, and possibly a whole lot of metadata, plus  the original files of edited photos. This is significant dataloss. And you should warn people that this is the case.
    While your metadata and originals may not be important to you, that is not necessarily the case for other users.
    Fourthly, and last, cleaning the iPhoto library should be done at least once per year
    This is nonsense. The iPhoto Library has no need of "cleaning" and certainly not in any way that trashes a whole lot of data.
    I'm very impressed that you assess the application based on the sound of the name. It's not a common way to review applications, but I'm sure it has some merit.
    FWIW it has been recommended on this - and other - sites for many years and has proven safe and effective.
    Regards
    TD

  • Hi  can any body please tell me how to open the .exe files in mac and why it is not supported with unarchiever app , also i am not able to run and dvd's in my mac its not accepting any cd's or dvd'd why do i need to do some settings for it ?

    Hi  can any body please tell me how to open the .exe files in mac and why it is not supported with unarchiever app , also i am not able to run and dvd's in my mac its not accepting any cd's or dvd'd why? do i need to do some pre defined  settings to run the cd's and dvd's ?

    A .exe file is a Windows executable. OS X does not run Windows programs. If you need to use .exe files then you will need to install Windows on your Mac:
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    Install the Apple Boot Camp software.  Purchase Windows XP w/Service Pak2, Vista, or Windows 7.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    VM Fusionand Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. Boot Camp is only available with Leopard or Snow Leopard. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • Hi, can anyone please tell me how to install the Nik collection into Adobe Photoshop CC 2014.2.1

    Hi, can anyone please tell me how to install the Nik collection into Adobe Photoshop CC 2014.2.1 ?

    Glad I could help. Thanks for letting me know I did.
    Gene

  • Hi Everyone, i lost my KN presentation that i spent a day with my boss to finish it. I lost it by mistakenly shutting down my Macbook pro. Can anyone please tell me how to recover the files back as i'm really2 in trouble and my job depends on it...

    Hi Everyone,
    I lost my KN presentation that i spent a day with my boss to finish it. I lost it by mistakenly shutting down my Macbook pro. Can anyone please tell me how to recover the files back as i'm really2 in trouble and my job depends on it...
    hmmm...how i hate myself for being such a careless person...
    PLEASE HELP ME...
    Thank you in advance.
    Keynotes '09
    Version 5.1.1 (1034)

    How exactly did you shut down your laptop? Not a hard restart (holding down the power button), I hope... if that's the case, then it is extremely unlikely the file is still intact on your computer. If it is, it would be an image on your RAM, and it is time-and-resource-intensive to recover it if it is even there. RAM memory is disposable and always being written over. Sorry dude...
    If it wasn't a hard restart, Keynote should have made a backup, unless you 'Force Close'd it.
    It really all depends on how your mac was shut down.

  • Will someone please tell me how to change the name of a folder I created in Pages and saved to the cloud?

    Will someone please tell me how to change the name of a folder I created in "Pages" and saved to the "Cloud"? Thanks.

    Go to the open dialog in Pages and select iCloud.
    Click on the folder that you created on iCloud to open the folder.
    On the lower half of the window (the open folder) click on the name of the folder.
    Once you click and select the folder's name it should be editable.

  • Please tell me how to transferred the fields to IDOC.

    HI all,
    I have appended some new fields into the ztable structure (Ex: ZUNIT). These same fields will be transferred into the IDOC.
    Can any body, please tell me how to transferred the fields to IDOC.
    Thanks & Regards,

    HI,
    See the following link.
    http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/mysap4/mysap4149.htm

  • I keep getting the error message "The server encountered an error processing registration.  Please try again later."  What do I need to do to fix this

    I keep getting the error message "The server encountered an error processing registration.  Please try again later."  What do I need to do to fix this

    FaceTime for Mac: troubleshooting FaceTime.
    http://support.apple.com/kb/ts4185

  • Please tell me what tool is the magic wand tool on elements 11

    hallo please tell me what tool is the magic want tool that they talk about in photoshop i only have elements 11

    Go to the Expert tab
    The icon looks like a pole with a star at the end. The key stroke is W

  • HT201320 i wanted to email my messages history in Viber. But the phone says I can't because I have to change something in the settings. Could someone please tell what to click in the settongs?

    i wanted to email my messages history in Viber. But the phone says I can't because I have to change something in the settings. Could someone please tell what to click in the settongs?

    How could anyone tell you what settings to change when it's not clear what settings you're referring to?

  • Can anyone please tell me how to reset the passcode on an ipod touch?

    Can anyone please tell me how to reset the passcode on an Ipod Touch?

    Conect your iPod to yur computer and restore via iTunes. Place the iPod in recovery mode if necessary. For recovery mode see:
    iPhone and iPod touch: Unable to update or restore

  • Please help me find the error in the annex VI,access

    Hello, everyone, this is a program about ACCESS, please help me find the error in the annex VI, why do I always run time error. Thank you very much.
    Attachments:
    write access test.vi ‏22 KB

    Thank you for your reply, I have an attachment process map, could you help me change it, I just want to put my number in the array can continue to update the database. And I want to create a table.
    this is my msn :[email protected]
    Waiting for your reply on line
    谢谢你的回复,我的附件中有程序图,能不能帮我改一下,我只是希望,把我的数组中的数能够持续的更新在数据库中。并且创建一个我想要的表。

  • Please tell me how you got the computer to reboot again once it was on the black screen saying "setup is inspecting your hardware configuration?"

    Please tell me how you got the computer to reboot again once it was on the black screen saying "setup is inspecting your hardware configuration?"

    Hi,
    use the power-switch on the left backside of your iMac to turn your Mac off.
    Use it again to restart your Mac and hold down the Alt/Option-button to get to the Boot Selection screen.
    Choose OSX.
    Once in OSX go to System Preferences - Startup Volume and reset it to use OSX as the default.
    Am I right assuming that you try to install Windows XP on a new (2011) iMac ?
    If so, XP is no longer supported by Apple for use/install With BootCamp.
    But there are some success stories when using a XP with SP3.
    Regards
    Stefan

  • Can any one please tell me how to configure the oracle data gaurd. in steps

    can any one please tell me how to configure the oracle data gaurd. in steps

    Hi,
    http://docs.oracle.com/cd/E11882_01/server.112/e25608/create_ps.htm#i63561
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/ha/dataguard/physstby/physstdby.htm
    Regards
    Yoonas

  • Hello friends , I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding. He started with terminal And used a text editor to compil the c program on his mac.. So please tell me how to do the same

    Hello friends , I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding. He started with terminal And used a text editor to compil the c program on his mac.. So please tell me how to do the same and is there any pre stalled text editor on mac if yes then where and if no then which text editor to install and how to install gcc...please help me out thanks in advance !!!

    I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding.
    Why? If you are developing and writing code on a Mac why would you not use the tools Apple has given you? And Xcode, once you get use to it, is a very nice development environment that will make you life a whole lot easier.
    If you insist on using an editor and the terminal I would recommend  Emacs   but it has a long learning curve so  something like TextWrangler  will work too.
    As for the compiler if you have Xcode installed install the command line tools and you will be able to compile from the terminal.
    good luck

  • TS4002 just recently, my i phone was stolen. Can anyone please tell me how to recover the photos, I presume I cloud would have it stored.

    just recently, my i phone was stolen. Can anyone please tell me how to recover the photos, I presume I cloud would have it stored.thanks

    Welcome to the Apple Community.
    You can recover any photos in photostream, by logging into your account on your computer. Any photos that are in the camera roll and not in photostream may be in your backup if yo kept one. When you replace your phone, restore it using this back up.

Maybe you are looking for

  • I have Process chains as well as some jobs which run.Most  of the data is l

    Hi Experts, I have Process chains as well as some jobs which run.Most  of the data is loaded through custom ABAP extracts.Now where to check for these jobs and how to understand them.I know that  we can check for jobs in sm37.But how do u load data u

  • Pdf content type missing

    I tried to follow the directions to fix the PDF not downloading issue and when I search for PDF under preferences /applications nothing comes up Why? How do I fix this? I have spent hours trying to fix and am considering using Chrome instead because

  • Migrate NSS pools to new device?

    Hi everyone: This may sound strange, but it is what it is : We're trying to migrate a series of cluster enabled pools from one SAN to another SAN (the fiber connects have already been made and tested...so that's no part of the equation at this time).

  • Adding a child and set to center

    I have a very simple script that adds a DisplayObject child to a canvas.... My code is below. The only thing I cannot figure out how to do is make it to where the canvas is centered, like you would usually do with horizontalCenter="0" verticalCenter=

  • Can't copy from flatbed on 8600 all in one

    Worked fine for 7 months and now when I try to copy a document from the flatbed, it keeps trying to load the document from the adf and I get the error message "reload origional in the automatic document feeder ADF and try again". One thing i noticed