In cursor i have two queries where put the condition and how to print the d

hi i have 2 tables 1 is emp(empid,empname,dept,grade)
2 is salary(grade,salary)
in cursor when ever grade is increased salary automatically increased
in 2 diffrent queries where i will put the if condition and how to print the output.
any one can please suggest me.
finally my required out put is
empid,empname,grade,salary
thanks

It is always helpful to provide the following:
1. Oracle version (SELECT * FROM V$VERSION)
2. Sample data in the form of CREATE / INSERT statements.
3. Expected output
4. Explanation of expected output (A.K.A. "business logic")
5. Use \ tags for #2 and #3. See FAQ (Link on top right side) for details.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Under mac Os have two firefox applications, which to uninstall and how?

    Hi! Have Mac Os 10.4.11 and tried many times to install firefox (wich does work) since required to drag icon into application and would load untill almost very end . Had this problem for months and could always use browser although at opening of computer would always ask to drag picture and did so quite a few time as new trial but to no havail. Since dragging didn't work, kept copys of both to keep bookmarks and now would like to either delete or uninstall one of firefox applications.

    Might have been better sticking with one topic for this; could get confusing with two.
    However; The only Applications icon in the finder window sidebar should be an alias to the Applications folder in the Macintosh HD (at least by default). I would suggest you just drag the one in the Places section to the desktop and watch it disappear, then go to Macintosh HD>Applications and drag that folder to replace the one you just removed - that will ensure that the correct one is in Places.
    As for the one in the home folder, my new MacBook surprised me by having an Applications folder in the home folder, too; though as it's a new computer it was empty. So I can see how you might have one there, as it appears to have been part of the SL install.
    What's intriguing though is how you come to have so many applications in that folder, including duplicates of some of those in the HD Apps folder. Are these Applications at the same standard of update as those in the HD folder? or are they earlier versions?
    If they're earlier versions (and I'm guessing they may be), is it possible they've been migrated from a previous installation on that iMac during upgrade?
    Whatever the reason they're there, if they're not required, trash them (from the home folder Apps folder) or indeed if there's nothing you actually want in there, trash the whole Applications folder from the Home folder.
    The Dock behaviour sounds correct if two different versions of an Application are open, so you shouldn't see it again once you've removed the duplicated apps.
    Whatever you do, *DO NOT* remove the Applications folder from Macintosh HD!

  • TS1702 i have an issues everytime i put my apple id and password to face time and imessage he said verifying and he goes back to where u should put ur password and wont check mark the mail and i create a new apple id the same what should i do ?

    i have an issues everytime i put my apple id and password to face time and imessage he said verifying and he goes back to where u should put ur password and wont check mark the mail and i create a new apple id the same what should i do ?

    i have an issues everytime i put my apple id and password to face time and imessage he said verifying and he goes back to where u should put ur password and wont check mark the mail and i create a new apple id the same what should i do ?

  • I have two time capsules, one for work and one for home, how do I set up the work time capsule to only back up my work files?

    I have two time capsules, one for work and one for home, how do I set up the work time capsule to only back up my work files?  Also, how do I add co-workers to my work time capsule and wife to my home time capsule?  Thank you!

    You cannot have two different TC setups.. at least until Mountain Lion.. it did introduce some changes but I am not sure if you can setup two different configurations for TM.. you can use two different devices to back up to. I doubt this will help you.
    You might be better using a real backup software.. superduper, CCC, chronosync etc.
    The TC by default is available to any Mac in the network to do backups. TM will sort itself out and put each computer on a different backup. These are kept in separate sparsebundles.. so that is all fine.

  • HT204053 Is it possible to have two (or more) different icloud mail accounts (not alias) under the same apple id? If not what is you best advice for all family members to have their own e-mail and still share the purchases under the same apple id. Thanks

    Is it possible to have two (or more) different icloud mail accounts (not alias) under the same apple id? If not what is you best advice for all family members to have their own e-mail and still share the purchases under the same apple id. Thanks

    mannyace wrote:
    Thanks for the response.
    So I basically won't run into any trouble? I
    There should be no issues. Its designed to work like that.  You don't change Apple IDs just because you get a new device.
    mannyace wrote:
    Thanks for the response.
    Is there any chance that the phones can fall out of sync?
    Unlikely. But nothing is impossible.   Though I don;t see how that would happen. As long as both are signed into the Same Apple ID / iCloud Account they will be N'Sync. (Bad Joke)
    mannyace wrote:
    Thanks for the response.
    If I get a message or buy an app or take a photo on the iPhone 5, how do I get those things onto the iPhone 6?
    If you buy an App, you have 2 ways to get it to the iPhone6: If Automatic Downloads is enabled in Settings->iTunes & App Store, it will automatically download to the iPhone 6 when you buy it on the 5 and vice versa if you buy it on the 6, it will download to the 5.
    Alternatively, you can simply go to the App Store App->Updates->Purchased and look for the App there and download it. Purchased Apps will not require payment again. i.e They'll be free to download to the iPhone 6 once purchased.
    SMS Messages will sync over using Continuity as long as they are on the same Wifi network. Otherwise, restoring the iPhone 5 backup to the iPhone 6 will transfer all messages received up until the backup was made onto the iPhone 6.
    Images, can be transferred either through Photo Stream
    My Photo Stream FAQ - Apple Support
    Or any Cloud service you want such as Dropbox, or One Drive.
    mannyace wrote:
    Also, something i forgot to ask initially: Should I update the iPhone 5 to iOS 8 first or does that not matter?
    If you want the Continuity features as explained above you need to update the iPhone 5 to iOS 8. Otherwise its not all that important.

  • I have two iphones with one apple id. How do I set up 'find a phone'?

    have two iphones with one apple id. How do I set up 'find a phone'?

    To wjosten-
    I just posted a similar question asking HOW you get into a menu for 'my devices' in order to name them? Thanks!

  • I have two iPhones on my iTunes account. How can I find out what apps go to which phone?

    I have two iPhones on my iTunes account. How can I find out what apps go to which phone?

    I don't believe that there is a way to do that.  I would sugest using automatic downloads to keep your apps synced across both phones.  You might also want to note that just about any app you have ever download will be available for free download via icloud.
    Wish I could be more help.

  • I have two iTunes accounts, one for music and another for audiobooks.  I want to merge them and maintain only one iTunes account.  How do I do it?

    I have two iTunes accounts, one for music and another for audiobooks.  I want to merge them and maintain only one iTunes account.  How do I do it?

    You cannot.

  • I have two different accounts with I-tunes and I want to link both purchases for my music to one account. How can I do this?

    I have two different accounts with I-tunes and I want to link both purchases for my music to one account. How can I do this?

    You are going to need to change the email address you use with your old ID. Once you have got access to your old account you will then log into both accounts at the same time on your Mac and transfer your data to a single account. We can do this later, but need you to get access to your old account first.
    My Apple ID

  • I have two iphone one is iphone 5 and othere is iphone 4 . can i use same id for both ? And do i have to purchase the application again for iphone 4 which i have buyed for iphone 5.??

    i have two iphone one is iphone 5 and othere is iphone 4 . can i use same id for both ? And do i have to purchase the application again for iphone 4 which i have buyed for iphone 5.??

    You can use the same Apple ID for both phones, you would then be able to use the purchased Apps/Content on both phones without having to pay again.

  • I have two iPods under same account information and lost one but when I try and track it only the one that isnt lost shows up, is there somewhere I can go to fix this?

    I have two iPods under same account information and lost one but when I go to track it only the one that isnt lost shows up, is there somewhere I can go to fix this?

    They cannot be tracked unless connected to WiFi.

  • I have two iPhones on my apple account and need to remove one how do I do this? Thanks

    I have two iPhones on my apple account and need to remove one how do I do this? Thanks

    If you are using two iPhones on the same Apple Account by using the same Apple ID you can remove one by following the following:
    Choose Settings > Store and tap Sign out
    The apps and such should remain. If you want to clear all of that you can do the following:
    The Erase all Content and Settings feature under Settings/General/Reset will remove your content and settings. 
    iOS: Understanding 'Erase All Content and Settings'
    http://support.apple.com/kb/ht2110

  • I have two iPhones, one is a 4s and the other is a 3g. I have not used my 3g in some time now. I recently restored it but I cannot use it without a sim card, it says i have to "activate it."

    I have two iPhones, one is a 4s and the other is a 3g. I have not used my 3g in some time now. I recently restored it but I cannot use it without a sim card, it says i have to "activate it." I cannot place my iPhone 4s sim card in it (too small), and i do not want to get a new contract or sim card for an iPhone that i do not ues very much.

    Thanks for your help, but i cannot borrow a noral sim card now, my family has all up graded to iPhone 4s's, i have done this before, but one of my family had the same type of iphone so i could use theirs. Now i am the only one who still holds on to their old phone... I am not sure about buying an adapter...

  • Me and my wife have two different iTunes accounts with different music, how can we syncronice this to our Ipad?

    Me and my wife have two different iTunes accounts with different music, how can we syncronice both our accounts to our Ipad?

    I'd like to know the same thing...

  • HT204053 Hello, I have two iphones but one Apple ID. How can I use localization apps for a dedicated device? Tx

    Hello, I have two iphones but one Apple ID. How can I use localization apps for a dedicated device? Tx

    On the iPad open Settings/iCloud and delete the account using the button at the bottom. Once deleted log in using the other account. For iTunes Stores use Settings/iTunes & Apps Stores, tapp on the Apple ID at the top then sign out. Once done sign in using the other account. Once you are happy with the changes plug your iPad into your computer to update the backup.

Maybe you are looking for

  • Attachment List option in PR , SO and NOTIFICATION etc

    Hi All, The Create ,Attachment List option in generic object services (GOS) doesn't work sometimes in Purchase requisition(ME52N and ME53N) , Sales Order , Notification etc. The (Services for Object ) Button is always Visible however the Create Attac

  • 2 monitors   2 thunderbolt  hard drives on Mac Mini

    Is it possible to have 2 monitors, 1 to with DP port, the other with DVI, and 2 external Thunderbolt HDD with Thunderbolt MacMini port?

  • Mini Player Issues

    I've been using iTunes 9.2.0.61 and no matter how many times I try to drag the mini player to the lower right corner of my screen; anytime I maximize iTunes and re-minimize it to the mini player, the player re-centers itself in the middle of my scree

  • SFTP through command line

    After surfing on web and reading the forums I come to know that there is no free API available for SFTP. I just want to know as alternative can we sftp through command prompt so that I can develop batch file and call it through java program. Or It wo

  • TransNotif block duplicate vendor ref

    Hi experts, Im using this TransNotif to block duplicate Vendor Ref in the sales order but i only want it for doc series 1 and 6, how can i achieve this. if @object_type = '17' and (@transaction_type in ('A' ,'U')) begin declare @RefNo as varchar (100