Plz help me in it, thnx

Hello Friends,
I need some help from u,
i have table like below
table name A
Details Debit Credit
aa 100 200
bb 50 30
cc 25 150
i try "select SUM(Debit),SUM(Credit) from A"
But
how can i get the diff between Debit Sum & Credit Sum ,
can any1 suggest me query,
i want to use this in resultset, in java servlet
if any1 can help me plz, help me out,
thank you,

SQL> select * from a;
DETAILS                   DEBIT               CREDIT
aa                          100                  200
bb                           50                   30
cc                           25                  150
SQL> select SUM(Debit),SUM(Credit) from A;
          SUM(DEBIT)          SUM(CREDIT)
                 175                  380
SQL> select SUM(Debit) - SUM(Credit) diff from A;
                DIFF
                -205

Similar Messages

  • PLZ HELP.. How can i make dvd from FCP project..

    Can someone plz help..
    I have FCPPRHD and DVD Pro..
    I got lost trying to make a dvd out of fcp project
    Can someone plz help in easy 123.. steps how to make a dvd for my client to view..
    Thnx ever so much
    awaitng ur reply

    I don't want to sound too harsh, but you really need to read the manual and do the tutorials.
    You shoot, capture and edit in FCP. You export that to MPEG2 using compressor and you import the resulting video and audio files into DVDSP. You add a menu and set up buttons to get to the footage, and you set up navigation so that your client can get back to the menu at any time. You build and format that (i.e. burn the disc).
    That's the process, but it is very much more detailed than any of us could write here.... it's all in the manual and tutorials

  • I have ipad. and ma ipad always restart. just tell me plz wht to do nw . thnx

    Hello,
    i have ipad. it have problrm bcoz my ipad after5-7 min restart. nw i m connet with itunes. nw my ipad just say coonnet with itunes. when i m connet with ituns nd i just click restore nd backup it gives error..
    so plz help me just tell me wht to do nw thnx ..

    You said :nd backup it gives error..".
    What is the wording of the error message?
    Also, this is the iPod touch forum. I requested your post be moved to the iPad forum.

  • Ipod 5 charger problems plz help

    hey my ipod 5 is chargig but it wont show the charge sign and it charges very slow. how can i bring back the charge sign without restarting or buting a new charger plz help thnx.

    Not Charge
    - See:      
    iPod touch: Hardware troubleshooting
    - Try another cable. Some 5G iPods were shipped with Lightning cable that were either initially defective or failed after short use.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar 

  • Error while opening a module. plz help me, very urgent.

    when i try to open a module, the following error message appears on my screen.
              " no j2ee component found in d:\krisp\programs\servlets".
              i've installed bea in c: drive and my servlet program is in d: drive.
              plz help me, it's very urgent.

    Can you provide some more information? What were you doing when this happened?
              Can you post the entire error message?
              -- Rob
              WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • Hi when i open my application folder, all the application is shown in trash folder. when i click the application it says this app is in trash first move it out. and when i try to open through finder go it says this file doesn't exist. can some1 plz help?

    hi when i open my application folder, all the application is shown in trash folder. when i click the application it says this app is in trash first move it out. and when i try to open through finder> go it says this file doesn't exist. can some1 plz help? how can i put all my application through application folder?

    Something really odd is going on. In your first screen shot, I noticed that the Applications folder does not have the proper icon displayed in the side bar. Also, in the title bar it lists it as Applications 08-59-29-909.
    Not sure where it's picking up that odd name, unless it's because it's still truly within the Trash folder.
    Try this. In the Finder > Preferences > General > turn on "Always open folders in a new window". (I have a feeling you have the default setting with this off).
    Now, in Finder > Go > move down and open the Applications Folder from there. Now open the folder where you see all your applications that you show in your screen shot, select all, and move them to this true appliactions folder.
    This is what you should properly seeing (but with different apps listed):
    See how the Applications folder has the icon of the letter A shaped with a pencil, ruler & pen.

  • How to select the download location? its automatically downloading to users folder in c drive. i wanna change it..plz help me out......

    how to select the download location? its automatically downloading to users folder in c drive.. i wanna change to my desktop...plz help me out...

    Tools -> Options -> Save files to -> Click browse button and browse for folder where you want to save the file.

  • How to print text/data in flex 3 using printer???Plz help...

       Hi,
              plz tell me the way to print text/data using printer in flex.  I tried the FlexPrintJob class. but it takes object of a container to be printed & prints the visible content of that container(along with scrollbars), bt i want to print all contents of the container(including invisible).
          I have tried to print bitmap image through FlexPrintJob but it takes lot of time for spooling... So plz help me out in printing(fast with all content) in flash
    I am using flex 3 (flex Builder 3 IDE).
      Thanks in advance!!!

    Hi Sagar,
    Don't worry You can use the below work around to print all the contents of the Container including the invisible contents under scrolll with out scroll bar..
    So what the idea here is we are seeting the container height to full size with out scrolls before sending the container object to printer and as soon as you print the object you are restoring it to the original height with scrolls...so that you can print the full contents without scrolls...
    You may have doubt that by chnaging and restoring the size the user may see momentary resize of the container but it is not so as it is a fraction of a second and user cannot notice this change... Give it a try ..I had already run into this problem recently and I have found a work around for this which is as below:
    // Here mainContainer is the container or box id the contents of which you want to print
       private function doPrintContainer():void
        var printJob:FlexPrintJob = new FlexPrintJob();
        if(printJob.start() != true) return;
        try
         var mainContainerHeight:int = mainContainer.height;
         //Increasing the height of the desired component to be printed.
         mainContainer.height = mainContainer.measuredMinHeight;
         mainContainer.verticalScrollPolicy = "off";
         //Adding the resized Component to our FlexPrintjob and then sending the print request
         printJob.addObject(this,FlexPrintJobScaleType.MATCH_WIDTH);    
         printJob.send();
         //Resizing the component back to normal size
         mainContainer.height = mainContainerHeight;
         mainContainer.verticalScrollPolicy = "auto";    
        catch(error:Error)
                     trace("Error : " + error.message);
    If this post answers your question or helps, please kindly mark it as such.
    Thanks,
    Bhasker Chari

  • My ipod touch 5th generation wont download apps and let m e use them!!! Plz Help me fast!

    I have an i pod touch 5 and I try to download a new app from the app store so i goto the app store and click download then click it again to install it and it installs but it dont leave an app icon on the home page so i go back to the app store and it says open in a ble box so i click open and it dont open it just keeps saying open and it wont open! please help me!!!!!!!!!!!

    I ment blue not ble sorry but plz help!

  • Help my iPod won't let me download apps... I'll put my password in then it takes me to the app but then is just goes away then I do it again an it won't load or it will just go away again plz help I want to get apps

    Help my iPod won't let me download apps... I'll put my password in then it takes me to the app but then is just goes away then I do it again an it won't load or it will just go away again plz help I want to get apps

    You said you updated yur 1G iPod to 4.2.1. A 1G can only go to 3.1.3 and thus you must have jailbroken it to get to 4.2.1 and that can cause problems.
    ArealDJ wrote:
    I have the same problem.. apps won't download and won't open. I have a 1st Gen ipod touch and recently upgraded my MacBook Pro (2012) and as soon as I upgraded the iPod Touch to 4.2.1, this happened. I restored to factory defaults and still cannot dl and open apps. Any way to diagnose this problem? Apple tech charges $29.99 for out of warranty products and if I am reluctant to pay with them telling me its simply a hardware problem.

  • I restored my Macbook Pro and now I can't log in as Admin - it says there is an error with FileVault and I don't have access - plz help!  thank you.

    I had to restore my Macbook Pro from Time Capsule yesterday and now when I go to log in as my usual Admin, it says there is a FileVault error and my access is denied.  I created another temporary Admin acct, but everything I had on my desktop, etc is "gone"  I can look up the "drive' or wahtever it's called, but I can't access any of it.  All I want to do is log back in as my usual self (the regular Admin) - plz help!  Thanks.   p.s. I"m (obviously) not that computer savvy!

    Triple-click the line below to select it:
    /System/Library/CoreServices/Directory Utility.app
    Rght-click or control-click the highlighted text and select
    Services ▹ Open
    from the contextual menu.* The application Directory Utility will open.
    In the Directory Utility window, click the lock icon and authenticate. Select the Directory Editor tool in the toolbar. Select Users from the Viewing menu in the toolbar, if not already selected. Select the affected user account in the list. On the right is a list of properties and values. Select the property "HomeDirectory" and delete it by clicking the minus-sign icon directly below the property list. There are two such icons in the window. You want the one on the right, not the one on the left.
    CAUTION: Do not click the minus-sign icon on the left, below the user list.
    Then click the Save button in the lower right corner of the window. Quit Directory Utility.
    CAUTION: There is no "undo" in Directory Utility. If you make a mistake and delete something in the Directory Editor that should not have been deleted, restore your whole system from a backup and start over. I have no other help to offer in that case.
    Try again to log in as the affected user. If you can log in, you should find a file in the home folder with the name of the user and the filename extension "sparseimage" or "sparsebundle". Double-click that file. A disk image should open. Copy your files from that disk image to restore them.
    I strongly suggest that you deactivate legacy FileVault in the Security & Privacy preference pane, then log out and log back in. Consider activating FileVault 2 if you want that kind of security.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). Open a TextEdit window and paste into it (command-V). Select the line you just pasted and continue as above.

  • Error in variables,plz help me

    I created a variable del_var.The sql query assosiated with this variable is.
    Delete from schema.file_name_table where rownum=1;
    After refreshing it.it is deleting first row in the table.But it is resulting in an error
    "17003 : null : java.sql.SQLException: Invalid column index java.sql.SQLException: Invalid column index "
    Plz help me

    Hi,
    You can't use a 'Delete" command at a refreshing variable because at a refresch the variable need to receive a value back and the delete doesn't return value.
    Change the command to "select....."
    Does it make sense to you?

  • Not able to access webservice after migrating from 8.1 to 10.3,plz help

    Hi All,
    Prev our application was running in weblogic 8.1 and now we moved to 10.3
    We are able to deploy our webservice in 10.3 and access the wsdl but we are not able to access the webservice from the client.
    Even the testclient is not comming up.
    After spending long time in that,now i dont have any clue on this issue.
    Plz help on this
    Thanks ni advance,
    Mouli

    Sunil,
    We are not seeing any exception.We regenerated the webservice and then deployed in the 10.3
    When we make req from the client ,we are getting null response but thing is there are no log trace in the server side for that
    folllowing is the input string we are pasing to the method notifyservice
    IN the client we pass the wsdl url and then pass the following input string and hit the notifySerivce method
    Req:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?><object><GLCCode>102431</GLCCode><callBackNumber>888256798</callBackNumber></object>
    Res:
    <m:notifyService xmlns:m="http://www.testportal.com/outbound/tsp/WowWebservices">
    <result xsi:nil="true"/>
    </m:notifyservice>
    Therre was an exception in the client side,plz check below
    javax.xml.rpc.soap.SOAPFaultException: Failed to get operation name from incoming request
    at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:317)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:147)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:473)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:459)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:569)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:422)
    Thanks For your time,
    Mouli

  • HT2534 My Apple ID is not working.....plz help

    My Apple ID is not working I made it yesterday using my PC .......plz help.......

    Try sign in to iTunes and App Store
    Settings>iTunes and App Store>Apple ID

  • Had 1418 error.formatted as fat.not fat32.now ipod doesnt work.why?plz help

    The iTunes keeps saying that:
    "The iPod "IPOD" cannot be updated. The disk could not be read or written to"
    "The iPod "IPOD" cannot be updated.
    And when I tried to restore it.
    "The iPod "IPOD" could not be restored. An unknown error occurred (1418)"
    thats a dreaded problem and i researched at many forums on how to solve it.....
    before reading ur reply....there were some other replies that i read.....
    which told me to format my ipod into fat partition...and not fat32 partition....then we had to update it and then restoring it would be possible........
    that was the only article which i came across and which had a solution to 1418 problem......
    so i began my work....
    but as soon as i formatted my ipod shuffle second generation into fat partition.......
    i restarted my comp...and then.the ipod is no longer working.......
    if i push it to on......then there is a constant green light on it which does not go off even if i connect it to comp. using the dock provided.......
    if i put it off,the green light goes off....
    ideally when an ipod shuffle is connected to pc..there is an orange light that starts blinking ,that shows that the ipod is being charged.
    but now when i connect mine.....
    the green light blinks only once......and then nothing happens...
    the device isnt working and so i cant even solve my 1418 problem ,as now i even have the solution.......
    help me plz....
    its really urgent....
    its been just a month my uncle gifted me this ipod ...he stays in north carolina........and i stay in india.....
    i dont even know if there are service centres of apple available in mumbai.and if they are,whether they are trust worthy or the ipod that i send to them might never to me and get stolen or something.....somebody might just keep it and say that its lost.......mumbai is not trustworthy.
    but if there is a recognized apple service centre then i would want to go there and get my ipod repaired....i have one-year warranty with me.......but i dont know if the warranty of a product bought in north carolina works in india......
    i cant throw this ipod....cause its my first ipod and it has hardly been time that i got it...its too early for me to throw it.....
    i dont know why the ****.....cant i connect it to the comp...
    i tried the following: after getting 1418 read and write error...:
    reinstalled the itunes 7.0.2
    reinstalled the drivers......
    reset the ipod shuffle...
    restarted my computer several times.....
    checked the cable....
    plugged the usb cable onto another port...
    scanned the comp for viruses......
    now the only thing left is that i think.....there can be a problem with the jack where the dock is plugged.....
    maybe thats the reason my ipod isnt working...
    even if i formatted into fat partition rather than fat32 partition,it should atleast be connected......
    should atleast charge.....
    should atleast be detected......
    my ipod is not even getting detected by the comp as any unknown device also.....forget as an ipod....
    i just shouldnt have formatted it...
    although i think....that formatting it did not lead to this problem......
    please help me.......
    urgently...........
    plz.....
    plz......send ur reply fast..plz help me.........
    get this ipod to work......
    i will fix the 1418 error myself....
    just get this device to work....so that comp starts detecting that i have connected something thru usb.....

    On top of the two suggestions already given, make sure that the drive letter being assigned to the ipod when you plug it in in windows is not also a drive letter being assigned to another drive. I've heard that this happens occasionally and can cause all kinds of conflicts, from problems you are describing to lockups when trying to sync.
    I would also try it on a different computer to see if that helps. Maybe you've got a friend or a computer at work that you can install itunes on and give it a shot there. This will let you know whether it's a problem with your specific computer or if it's a problem with the ipod.
    The fact that it runs in Windows and you were able to reformat the flash memory stick tells me that the Ipod is working, but that something on your computer is not.
    P.S. Obviously you've had it for 90 days, So I must assume that the USB port is working correctly. Otherwise the Ipod's battery would have drained by now. So I don't believe it is a hardware issue. So move past that for right now and look to your computer's settings for the answer.

Maybe you are looking for

  • Error on installing AXIS2 v.1.5.4 on WebLogic Server 10.3.3.0

    After install Axis2 v.1.5.4 on WebLogic Server 10.3.3.0, when i tried to start axis2 error occured(showed in administration console): java.lang.NoClassDefFoundError: org/apache/log4j/CategoryFull stacktrace from log: http://pastebin.com/7bvSC1E6 Coul

  • I can no longer manually drag music or podcasts on to my iphone 4. Help?!

    i have a PC. First of all, the other day i opened itunes to discover that all of my music had disappeared from it. I then had to get it to find all the music and my computer and import it. I then discovered I have triplicates of multiple songs and ca

  • How can i activate my iphone if it says activation server is unavailable

    All of a sudden i try to use my phone and it asked me to activate my iphone, now everytime i try to en enter my apple ID and password it says "activation server is temporarily unavailable" . So then i connect my iphone to itunes and a message pops up

  • Index is missing for a specific Primary key.

    Hi All, Index is missing for a specific Primary key but for other PKs index is available (verified in metadata, USER_INDEXES). Status of problematic PK is enabled.  This issue is only in one environment and other envs index is associated with this PK

  • Can't log with slim since session restart

    Hello I need help... What happened ? I have had my user to the group storage, then I close my gnome session, but, when I try to log me with slim, it's doesn't work -_- I put my username, my password, it seem to be OK, but it's load, it's load... and