You want to sort the columns by using the ROLLUP GROUP.

Want to order the below query using "column of News in descending order and the"Email address"column in ascending order.
Note: Triage should not bring the total value at the top. It's happening now.

{code}
SELECT decode (grouping (NVL (customer, "NA")), 1, 'total', NVL (customer, "NA")) 'Email (ID). "
"Location."
Sum (News) "News."
Sum (website) "Web Site",
OF VW_FX_USERDATA
GROUP BY ROLLUP (((NVL (Client, "NA")), location, 1, 'total', NVL (customer, "NA")))
{code}

Please let me know if you need any details.

Published by: Nana Akkivalli on September 23, 2011 16:04
order by decode(decode(grouping(NVL(EMailAddress, 'NA')),1, 'Totals', NVL(EMailAddress, 'NA')), 'Totals',2,1), 3 desc, 1 asc

Tags: Database

Similar Questions

  • I have Adobe cc on my computer, I bought a laptop and you want to install the Adobe software. But I installed the software and I would like to use the trial version. How do I fix

    I have Adobe cc on my computer, I bought a laptop and you want to install the Adobe software. But I installed the software and I would like to use the trial version. How do I fix

    Hello

    Please follow the steps under https://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

    Let us know if this was helpful.

    Thank you

  • You want to clarify the whole picture except for a small area - using a MAC PS thanks CC!

    You want to clarify the whole picture except for a small area - using a MAC PS thanks CC!

    The target of the layer mask.

    Use the paint brush tool

    Use black paint

    paint over the area you want to return the origanal look.

  • I use photoshop CS6 on a pc and you want to change the computers to a Mac - how do I do this?

    I use photoshop CS6 on a pc and you want to change the computers to a Mac - how do I do this?

    1. Get a serial number of Adobe's Windows
    2. Enter the serial number in the Windows version of the software on the PC

    You can download and install now.

    Download Creative Suite 6 applications

    It will work in trial mode for 30 days without a serial number.

  • Whenever I use Adobe Creative Cloud, I have the same question; do you want to allow the following program to make changes to this computer. Whenever I click OK. But the question is always every time. I have download the new versin of the designer c.

    See the previous question.

    Please follow every time I use Adobe Creative Cloud, I have the same question, you want to allow the following program to make changes to this computer. Whenever I click OK. But the question is always every time. I have download the new versin of the creative c

    Double Post

  • Photoshop and elements 13 working in iPhoto you want to edit the image using photoshop elements is the next IPhoto > Preferences > advanced > edit Photos: in the menu drop-down set in Photoshop elements also Ctrl click and chose to change in edit

    Photoshop and elements 13

    Work in iPhoto

    You want to change the image using photoshop elements

    Did the following

    1. IPhoto > Preferences > advanced > edit Photos: in the menu dropdown selected in Photoshop Elements
    2. Also control click on and chose edit in external editor
    3. List drop-down menu edit in the external program photos > photoshop Elements
    4. Go to the image, I work - is selected the image, the user has clicked on change. When nothing happened, I double click on the image. Elements has not opened yet. Then I opened the item editor, returned to iphoto and tried again the whole process. the photo has not yet opened the 13 elements for editing.
    5. I have 3 elements 13 books as well as watched online - all my references say exactly the same thing--iPhoto > Preferences > advanced > change in the external program > photoshop Elements
    6. I uninstalled and reinstalled both iPhoto as well as elements.

    I spoke with the technical support of application.  It seems that nothing wrong with my copy of iPhoto.  However there is no Adobe support.  I waited more than 1.5 hours for chat support several days ago and eventually abandoned.

    You are probably choose the manifest file and the correct file like PES Editor. The current editor is hidden inside the Support files folder. The PSE file at the top level of the PES in the Applications folder is simply an alias for the Welcome screen and what you describe is exactly what is happening when you who choose. You want this one:

  • Windows media player - "you want to hide the drive.

    Hello

    Can someone help me with something that leads me into the wall? Since I installed SP2 on my desktop and laptop, when I close WMP everything a video or track is playing, a dialog box appears on the screen asking me "Do you want to hide the drive instead to shut up?". There are two button (Yes & No.), and a checkbox to say '' do not ask that in the future".

    More often than otherwise, this dialog box appears mainly outside the screen area, and I have to drag in the main window. But more annoying than anything else, is that no matter if I check the box "don't ask again", I'm ignored. Whenever I close the player with the closing this window 'X', I get the same dialog box.

    It was not the case prior to SP2. I looked all over the internet by using the text of the dialog box to see if other users know this, and I can't find a thing. I am logged in as administrator (the only user on both machines). I am running Vista 32-bit, l i've got things like FFShow installed and the combined community codec pack. However, my brother also has it installed on his vista machine and did not see the dialog box.

    Is there some sort of registry setting that is corrupt, is not being written because of UAC, or something (anything!) that I can put to stop this dialog once for all to come?

    Much recognition for everyone and anyone who can help you.

    Am I just that you said this happens on both machines? Must be something in common.

    You can post the pieces of the error of the newspaper here, we can repeat sections post so that each section of the error
    It's different. Usually 10 or if the lines to a section with errors.

    What are the antivirus/antispyware/security products on the computer and that have ALREADY been on it even if
    you have uninstalled them?  (Exeunt the remains around strange questions that cause.)

    ----------------------------------------------------------------------

    Turn off UAC to see if he has not a part:

    You can also enable the UAC SILENCER or STOP if it lowers you the level of security.

    THIS UTILITY MAKES IT EASY TO
    http://www.tweak-UAC.com/
    Tweak UAC utility - easily put UAC into Silent Mode or POWER

    =======================================

    Also try these:

    1 try to run the checkdisk - calendar that it runs at the next startup, then apply OK then restart your way.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    If no joy:

    Try the Startup Repair tool-

    This tells you how to access the System Recovery Options
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    Try recovery options Startup Repair

    How to do a startup repair
    http://www.Vistax64.com/tutorials/91467-startup-repair.html

    Rob - bicycle - Mark Twain said it is good.

  • I would like a more efficient sorting for organizing files, a similar to the options available via EXCEL. I want to sort the files from Windows 7 Desktop AND type update...

    I would like to apply a more efficient to organize the display of files, a similar to the options available via EXCEL.  I want to sort the files of desktop Windows 7 by type AND update... looks like it would be a logical way to view the files.  Currently, I can do one or the other.  Sort by modified date provides a hodgepodge of file types, sort by type will not most recently changed... organize a hodgepodge of dates.  You wonder why I felt it necessary to ask this... seems to be a simple and logical option which would already be available.  Is it?  If so, how can we do this?

    I don't know where you see all sort in excel. The file > open in excel procedure uses this same kind as provided by the Explorer (its Explorer discovers Documents)

    The view in excel is obviously filtered to Excel docs.

    You probably need to rethink your documents folders stratergy

  • After query do you want 2 save the changes you made

    Hello

    If I run a query for a form master / detail and press an Exit_button

    A message will be displayed in the form: (do you want 2 save the changes you have made) or NOT

    I don't want to use:
    EXIT_FORM ("NOT OK");
    I have 2 codes in a post request
    BEGIN
    
    SELECT ITEM_ID ,ITEM_NAME
    INTO   :ITEM_ID ,:ITEM_NAME
    FROM    WH_ITEMS
    WHERE ITEM_SERIAL =:WH_T_ITEMS.ITEM_SERIAL ;
    
    EXCEPTION
    
      WHEN No_Data_Found THEN       NULL; 
    
     WHEN OTHERS THEN
              
              Message ('OTHERS' || SQLCODE || ' And ' || SQLERRM);
              Message ('OTHERS' || SQLCODE || ' And ' || SQLERRM);
              
         
    END;
    
    
    ---====================================
    
    
    
         
    BEGIN
    
    SELECT WH_STORES.STORE_NAME
    INTO   :WH_TRANSACTIONS.STORE_NAME
    FROM   WH_STORES
    WHERE  WH_STORES.STORE_ID =:WH_TRANSACTIONS.STORE_ID ;
    
    EXCEPTION
    
      WHEN No_Data_Found THEN      NULL;
      
            
     WHEN OTHERS THEN
              
              Message ('OTHERS' || SQLCODE || ' And ' || SQLERRM);
              Message ('OTHERS' || SQLCODE || ' And ' || SQLERRM);          
              
    END;
    
    --===============================================================
    But I want 2 know why?


    Kind regards

    Abdetu...

    Database is perhaps one of these columns

    IN: WH_ITEMS. UOM_ID,: WH_ITEMS. STP_UOM_NAME

    If Yes, delete the select statement.

    -Clément

  • What is "you want to update the password saved for"

    Given that I deleted prefs.js and user.js when I connect to any account in the upper-left appears
    "you want to update the password saved for" this interferes with the connection and now it won't let me connect you to your e-mail account.
    I wonder where it appears? I don't want to use it and want better to delete, but don't know how?
    I wanted to add a page in this issue, but as usual Firefox won't like that I guess. So, after this announcement I'll add.

    Thank you.

    Hello

    Thanks for the very useful reply.
    I followed the direction and it seems to work.

  • What Satellite Pro A120-I own? -You want to expand the memory

    Hi all!

    I want to upgrade the memory on my Pro A120.
    When you are looking for is the right kind, I wonder if I am owner of a
    A120-102
    A120-103
    A120-104
    etc.

    The list goes on and.

    I only know that he has a
    Satellite Pro A120 - 10 M
    PSAC1E-0QL054DU

    How do I know what AE figure should choose behind the A120 -?

    Someone?

    Thnx!

    And where you want to check the type of law?

    As you can see from the thumbnail you Satellite Pro A120 - 10 M. It's the answer to your question.
    Anyway, the memory modules compatible RAM for your laptop are:
    PA3499U - 1 M 25 (Kit of memory 256 Mo DDR2-667)
    PA3511U - 1 M 51 (Kit of memory 512 MB DDR2-667)
    PA3512U-1M1G (memory 1 GB DDR2-667 Kit)
    PA3513U-1M2G (memory 2 GB DDR2-667 Kit)
    DDR2-533 256 MB (PA3389U - 2M 25)
    512 MB DDR2-533 PA3412U - 2 M (51)
    1 GB OF DDR2-533 (PA3411U-2M1G)

    Your laptop can handle with 4 GB of RAM. So if you want to have the maximum amount of RAM, you must use 2 x PA3513U-1M2G.

    I have it? ;)

  • This page requires a version more recent Silverlight.Would you want to install the latest version from the Silverlight Web site?

    ---------------------------
    Microsoft Silverlight Update
    ---------------------------
    This page requires a newer version of Silverlight. You want to install the latest version from the Silverlight Web site?
    ---------------------------
    Yes No
    ---------------------------

    using Visual Studio RC 2012 and try to create a Silverlight application and the following error message occurs.

    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    Mixture cannot continue because a compatible version of Silverlight is not found.
    ---------------------------
    Ok
    ---------------------------

    Silverlight forums: http://forums.silverlight.net/

    Visual Studio forums: http://social.msdn.microsoft.com/Forums/en-US/category/visualstudio

    -steve

  • I get an error message, "unable to print Test page. You want to discover the convenience of printing support? Cannot create a file when that file already exists"while trying to print.

    Hello

    I could connect network printer and also to view its properties, but when I try to print it shows error.

    Example: when I try to print a test page using the network printer, error

    "Test page cannot print. You want to discover the convenience of printing support? Cannot create a file when that file already exists ".

    I already try to remove the printer and installed again, again, has not worked for me. Someone has an idea for this?

    Concerning

    Original title: unable to print using network printer

    Hi chungb,

    Thank you for keeping us posted.

    I would have you post your query in the Forums of Windows Server , as it is addressed to an audience of it professionals.

    Check out the link-

    http://social.technet.Microsoft.com/forums/en-us/winserverprint/threads

    We know if you need help.

  • computer inheirerted of father and you want to restore the factory installed vista system but do not know the password of admin fathers

    computer inheirerted of father and you want to restore the factory installed vista system but do not know the password of admin fathers

    Hello

    You should not have a password to reinstall Vista.

    Microsoft prohibits any help given in these Forums for you help bypass or "crack" passwords lost or forgotten.

    Here's information from Microsoft, explaining that the policy:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-security/keeping-passwords-secure-Microsoft-policy-on/39f56ef0-5d68-41AD-9daa-6e6019c25d37

    There are several methods to reinstall Vista.

    There is no Windows Vista downloads available from Microsoft.

    You can contact your computer manufacturer and ask them to send you a set of recovery disks.

    They should do this for a small fee.

    To reinstall Vista using their recovery disk/s, you start from the 1st recovery disk they provide and follow the manufacturer's instructions to reinstall:

    You need to change the Boot order to make the DVD/CD drive 1st in the boot order:

    How to change the Boot order in BIOS:

    http://pcsupport.about.com/od/fixtheproblem/SS/bootorderchange.htm

    And if you have never received a recovery disk when you bought your computer, there should be a recovery Partition on the hard drive to reinstall Vista on how you purchased your computer.

    The recovery process can be started by pressing a particular combination of the key or keys at startup. (Power on / start)

    Maybe it's F10, F11, Alt + F10, etc., depending on the manufacturer.

    Ask them to the proper key sequence.

    Some manufacturers have more available Vista recovery disks.

    If this happens, you may need to try this instead:

    You can also borrow and use a Microsoft Vista DVD, which contains the files for the different editions of Vista (Home Basic, Home Premium, Business and Ultimate) must be installed. The product key on your computer / Laptop box determines what Edition is installed.

    Other manufacturers recovery DVDs are should not be used for this purpose.

    And you need to know the version of 'bit' for Vista, as 32-bit and 64-bit editions come on different DVDs

    Here's how to do a clean install of Vista using a DVD of Vista from Microsoft:

    "How to do a clean install and configure with a full Version of Vista '

    http://www.Vistax64.com/tutorials/117366-clean-install-full-version-Vista.html

    And once the operating system is installed, go to your computer manufacturer's website and get the latest drivers for your particular model or laptop computer.

    And phone Activation may be necessary when you use the above installation method.

    "How to activate Vista normally and by Activation of the phone '

    http://www.Vistax64.com/tutorials/84488-activate-Vista-phone.html

    See you soon.

  • Windows Mail error message: "some of the files could not be found and could not be attached to the message." You want to send the message anyway? »

    original title: end this message appears "some of the files could not be found and he could not be attached to the message." You want to send the message anyway? "I am running Windows Vista Home Basic Edition
    Hello
    I'm so frustrated, this problem has arisen at a very bad time!

    I started to use Windows Mail a few months ago and have had no problems so far, since Thursday night, every time that I attach a file to an e-mail message when I click on send this message 'some files was not found and could not be attached to the message. You want to send the message anyway? "I am running Windows Vista Home Basic Edition.

    Thank you

    Hello

    Method 1:
    You can perform the steps of troubleshooting from the link:
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-Windows-Mail

    Method 2:
    You can check if the default e-mail program is selected, follow the steps to do this:
    a. go to: Control Panel and go to default programs. Select Configure programs and Computer Defaults b. Select continues if the permissions window will appear
    c. left, double-click Custom, under Choose a default e-mail program, select Windows Mail.
    d. click Ok and close.

    Method 3:
    If none of the above steps are useful, then try to perform the system restore to the date when it was working fine.
    http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-system-restore

    NOTE: System Restore does not affect personal files, such as e-mail, documents, or photos, so it cannot help you restore a deleted file. If you have backups of your files, you can restore files from a backup.

    Method 4:
    If the file you are trying to download is opened, then it will not download, you can close the file completely and then try to download.

     

Maybe you are looking for