In Oracle SQL, select cannot use the column in the statement and order of

Hello

Is there a work around for this.

Thanks in advance
Pablo.

Hello

943981 wrote:
Hi all

This is the error I get:

ORA-00960: column ambiguous naming in select list
00960 00000 - "ambiguous column naming in select list".
* Cause: A column name in the order by list corresponds to more than a select
columns in the list.
* Action: Delete columns duplicated naming in the selection list.
Error on line: column 6:17

This error message seems pretty clear to me. What don't you understand?

Or the other
(a) use aliases, so each column has a unique name, or
(b) remove the columns duplicated of the SELECT clause.

Post your query. It is difficult to tell exactly what you're doing wrong when we do not know exactly what you are doing.
For best results, view a complete test (including CREATE TABLE and INSERT statements) script, if necessary that people can to recreate the problem and test their ideas.
See the FAQ forum {message identifier: = 9360002}

Tags: Database

Similar Questions

  • HP Pavilion Notebook 17.3 ": cannot use the buttons and moving the mouse

    Hello

    I'm a pretty heavy gamer and I recently I brought a HP Pavilion Notebook with windows 10 on it, and I expect to play games on it

    But the problem im getting is, if I hold one button, the mouse does not work, which, as you can tell, is unplayable.

    Is there any solution to this? his v19.0.12.97 of Synaptics Pointing Device running

    Thanks in advance

    Hello

    I tried the following on a machine not that different to yours and it seems to work.

    First, download the Synaptics driver on the link below and save it in your downloads folder.

    http://ftp.HP.com/pub/SoftPaq/sp63001-63500/sp63417.exe

    Disable your wireless card (should be f12).

    Open Control Panel, open programs and features, right click on the Synaptics driver and select uninstall.

    When you are done, reboot the laptop.

    When windows has reloaded, open your Downloads folder and launch the installer of Synaptics - when this is complete, restart the computer again.

    Open the Synaptics settings panel, disable SmartSense, then check if the touchpad works now with a key on the keyboard is pressed.

    If so, turn on your wireless card and use the utility on the following link to prevent Windows 10 to update automatically the Synaptics driver.

    https://support.Microsoft.com/en-GB/KB/3073930

    Kind regards

    DP - K

  • OfficeJet J4660 all-in-One on Windows Server 2003 R2 - cannot use the scan and fax functionality

    Hello everyone,

    I recently purchased the Officejet J4660 AIO.  I had to install on our Windows Server 2003 R2 (with all latest updates), being present on the CD of driver for Win XP, I had to download the latest driver (OJJ4600_Corporate_ENU_10 - 55.8 MB) from the HP site.  During installation, ONLY the printer driver has been installed.  I can't use the SCAN function or the FAX software.  In fact, the icons for these two programs not created in the HP program group.  No error message appeared well while installing.

    All the world was a program similar and been able to get a work around for this?  I would like to use AIO printer that I bought, not only on the side of impression of it.

    Any help will be much appreciated.

    Thank you.

    Salim

    I think that the Acquisition of Image Windows (WIA) service is disabled in your system. Unlike Windows XP or Vista, in most Windows Server systems, this service is disabled by default. You can activate it in this way:

    1. right click on my computer and select manage.

    2. Select "Applications and Services-> Services";

    3. find Windows Image Acquisition (WIA), right click and select Properties.

    4. Select "auto" in the "Startup Type" list box in the "Général" tab

    5. in the situation 'Services', click 'start '.

  • HP Pavilion Windows 8.1 cannot use the TrackPad and keyboard at the same time

    So when I play games on my laptop or just go on the internet I can't hold down a key on my keyboard and move the mouse at the same time, it just does not take into account my trackpad and continues to do what the action on my keyboard.

    An example is so when I play one of my favorite games and the letter on the keyboard, 'A', is reached. I also spend my head of characters to get the lens during the attack. So I spend my TrackPad to aim my head during the attack. The recoil of the gun made my gun just start to reach the sky that its supposed to. But I want to move my head to redirect during filming. Does anyone know how to solve this problem.

    Thank you

    Coler234

    Hi Coler234 and welcome to the Forums of HP Support!

    I can understand how that must be frustrating when you try to play a game and can't move your player as you're supposed to. I'll try my best to help you solve this problem. To guide you, could you please tell me the number of model or product from your computer and the operating system that runs on it. Here are a few guides for How can I find my model number or product number? and Windows operating system am I running?

    I suggest that you try to restore the original drivers for the TouchPad see if solves the problem. I am also including this document to use and configure the TouchPad (Windows 7 and Vista) in the hope that it will help.

    I have also some steps that may work:

    1. click on the Synaptics icon in the system tray.

    2. Select properties of the pointing device.

    3. Select the device settings tab.

    4. Select the Synaptics LuxPad.

    5. click on settings.

    Select ACM PalmCheck improved.

    6. click on the gear icon to open a menu of settings.

    Move the PalmCheck slider all the way to the left in the OFF position.

    7. click on close.

    8. click on OK.

    Changing the settings is now complete.

    I hope that this information help, please let me know how it goes.

    Good luck and happy playing!

  • Cannot use the mouse and the keyboard in the recovery environment

    I finally got my PC at work in lieu of my GPU. However, when I try to start my PC, he recommended that I use the repair of the system. When I try to boot normally, it hangs for a second then crashes and restarts at 'Starting windows' screen Try to boot in safe mode results in the PC hanging from the "CLASSPNP. SYS driver", crashing and restarting as start normally. Autour for a little googling told me that the way to fix is to go to the repair of the system and either rename the 'CLASSPNP. SYS"through the command prompt, or by using a system restore. Problem is that my keyboard and mouse do not work in the recovery environment, because she saw no USB 3.0 driver and my PC with only USB 3.0 struggling (I have a motherboard MSI Z170A PC COMPANION). I tried another keyboard and an adapter USB to PS2, or worked, or don't have crippling legacy USB in BIOS work. I ordered this (https://www.amazon.com/StarTech-com-Motherboard-Header-Adapter-USBMBADAPT2/dp/B002GNU2V6) for the delivery of a Home Depot. It's supposed to go where the power of front for the USB 2.0 cable is supposed to be plugged into the motherboard. Unfortunately, when I put in motherboard and plugged the keyboard and mouse, it still does. I'm doing something wrong?

    My PC has been broken for over 2 months, I don't want something as pesky as it's the thing that keeps him from working again.

    Discovered how to fix

    I activated "Installation of Windows 7" in the BIOS and it worked

    Now I just need to find a way to back up the data on my HARD drive

  • With U2410 PIP: cannot use the HDMI and DVI inputs at the same time

    Hello

    I can't have a HDMI source and a DVI source on the main screen in the picture-in-picture (or visa versa). Trying to choose the entry in the menu PIP PIP shows grayed out the HDMI and two DVI sources. The manual does not address this. Is this a limitation of design or a known issue that is under development?

    "Technological evolution is like an axe in the hands of a pathological criminal." (Albert Einstein, 1941),

    Dr. Z.

    Dr. Z..
    It's normal.

    Source = VGA main
    PIP = DVI, HDMI, DP, component, Composite

    Source = DVI
    PIP = DP, Component, VGA, Composite

    Main Source = HDMI
    PIP = DP, Component, VGA, Composite

    Main Source = DP
    PIP = VGA, DVI, HDMI, component, Composite

    Main Source component =
    PIP = VGA, DVI, HDMI, DP, Composite

    Main Source = Composite
    PIP = VGA, DVI, HDMI, DP, component

  • using the statement and pagebox to spend

    I am very new to javascript, but I'm trying to write a small script to provide automation based on the size of the page.

    I know that my current document is one of the cases listed, but I can't get the switch statement below to acknowledge.

    Any help would be greatly appreciated. I use Acrobat Pro 9. Thank you

    function test() {}

    var pSize = this.getPageBox ("Crop");

    App.Alert (pSize, 3);

    {Switch (psize)}

    case '0,612,792,0': //A

    App.Alert ("Page size", 0);

    break;

    case '0,792,1224,0': //B

    App.Alert ("B size Page", 0);

    break;

    case '0,1224,1584,0': //C

    App.Alert ("C size Page", 0);

    break;

    case '0,1584,2448,0': //D

    App.Alert ("D size Page", 0);

    break;

    by default:

    App.Alert ("size of the Page Not Found!", 0); / / do this if all else fails

    break;

    }

    }

    You can try to convert the table to a string using the switch statement:

    var pSize = this.getPageBox("Crop");
    pSize = String (pSize);
    // Now, use switch statement as you have it.
    
  • my screen is too far left and I cannot use the contacts and things that are along there, what can I do?

    That's about all I can tell you, I click on channel ' lt points up and down on the left of my page commandes.sur is not centered, and there is a black bar on the side rilght.

    Arlene

    Using a laptop or desktop?

    Try to turn your monitor off and disconnect the power to it and then turn it back on. He do on all or only some programs that you use?

  • Cannot use the search and Index in Safari

    I've had nothing but problems with Robohelp 6 and Safari and now when I thought that I had used all the workaround solutions possible, it happens a new show :(

    When you use IE, Firefox, etc, that the navigation toolbar works very well - you can perform a search, you can view the index. When you view the webhelp generated in Safari, you get a horrible list of the Index rather than what you see. Also research is substantially the same index. It is crucial that any product support we use works on Safari. Right now I feel horrible to choose RoboHelp as our new support system. Everything in the documentation says it's 100% compatible with Safari.

    Anyone else seeing this same problem with Safari and the index/search?

    This problem has been fixed in 7.0.2 HR.

  • Cannot move a selection while using the rectangular selection tool brand

    If I make a selection using the selection tools then I can drag the selection with the same tool, with the exception of the branding tool tubes (RMT).   If I make a selection by using the RMT, then try to drag, then all I get is another selection.  Photoshop CS5 in Windows 8.   Anyone any idea how to get back to the default situation where I can drag the selection, or has my installation has been corrupted somehow?

    Most likely you do not have new selection activated in the toolbar options for the rectangular selection tool.

  • Cannot use the command clause contained in the posting online of a cursor

    Dear people,
    I use Oracle 10 g with forms 6i. I had a requirement where I gotto choose the latest ten records and view the sorting in the opposite order.say for ex.
    Cursor C is select * from (select ename,sal from emp order by sal desc) where rownum<=10;
    But my problem is all the time that I came to know that we cannot use the order by clause in the view of a cursor line in forms 6i. Think it's one of the limitations of forms 6i.so u can suggest me what I can do to get the expected results? do we not have any alternative?


    Thanking you,


    Concerning
    Vids

    Published by: vidusnat on July 4, 2012 03:38

    Hello
    Please specify!
    Forms 6i must be with an older version of SQL and PL/SQL (8.x).

    To keep it simple create a VIEW in the comics with your as its source and the use of the VIEW in the form. As you noted, it works in 10g and exploit it.

    See you soon,.

  • Cannot use the rollback system for non-system tablespace segment ' TEMP

    Hello world!

    I encountered this error: "cannot use the non-system"TEMP tablespace system rollback segment.

    So what I did to check the cancellation stuffs online.
    SQL> select tablespace_name,status from dba_tablespaces;
    
    TABLESPACE_NAME                STATUS
    ------------------------------ ---------
    SYSTEM                         ONLINE
    UNDO                           ONLINE
    SYSAUX                         ONLINE
    TEMP                           ONLINE
    LARGEDATA                      ONLINE
    LARGEINDEXES                   ONLINE
    MEDIUMDATA                     ONLINE
    MEDIUMINDEXES                  ONLINE
    SMALLDATA                      ONLINE
    SMALLINDEXES                   ONLINE
    XSMALLDATA                     ONLINE
    
    TABLESPACE_NAME                STATUS
    ------------------------------ ---------
    XSMALLINDEXES                  ONLINE
    XXSMALLTABS                    ONLINE
    USERS                          ONLINE
    CONVTABLES                     ONLINE
    UNDO_02                        ONLINE
    
    16 rows selected.
    
    SQL>  SELECT tablespace_name, sum((bytes/1024)/1024) free FROM DBA_FREE_SPACE gr
    oup by tablespace_name;
    
    TABLESPACE_NAME                      FREE
    ------------------------------ ----------
    LARGEDATA                      18.3105469
    SMALLDATA                        10.46875
    SYSAUX                           106.5625
    UNDO_02                            67.125
    XXSMALLTABS                    13.0078125
    CONVTABLES                     170.039063
    MEDIUMDATA                             22
    USERS                           37.265625
    SYSTEM                             55.875
    LARGEINDEXES                   30.5175781
    XSMALLINDEXES                    17.34375
    
    TABLESPACE_NAME                      FREE
    ------------------------------ ----------
    UNDO                             546.9375
    MEDIUMINDEXES                       33.25
    SMALLINDEXES                    31.015625
    XSMALLDATA                     23.6328125
    
    15 rows selected.
    
    SQL> select file#,status from v$datafile;
    
         FILE# STATUS
    ---------- -------
             1 SYSTEM
             2 ONLINE
             3 ONLINE
             4 ONLINE
             5 ONLINE
             6 ONLINE
             7 ONLINE
             8 ONLINE
             9 ONLINE
            10 ONLINE
            11 ONLINE
    
         FILE# STATUS
    ---------- -------
            12 ONLINE
            13 ONLINE
            14 ONLINE
            15 ONLINE
    
    15 rows selected.
    
    SQL> select segment_name, tablespace_name, initial_extent,status
      2  from dba_rollback_segs;
    
    SEGMENT_NAME                   TABLESPACE_NAME                INITIAL_EXTENT
    ------------------------------ ------------------------------ --------------
    STATUS
    ----------------
    SYSTEM                         SYSTEM                                 102400
    ONLINE
    
    _SYSSMU1$                      UNDO                                   131072
    OFFLINE
    
    _SYSSMU2$                      UNDO                                   131072
    OFFLINE
    
    
    SEGMENT_NAME                   TABLESPACE_NAME                INITIAL_EXTENT
    ------------------------------ ------------------------------ --------------
    STATUS
    ----------------
    _SYSSMU3$                      UNDO                                   131072
    OFFLINE
    
    _SYSSMU4$                      UNDO                                   131072
    OFFLINE
    
    _SYSSMU5$                      UNDO                                   131072
    OFFLINE
    
    
    SEGMENT_NAME                   TABLESPACE_NAME                INITIAL_EXTENT
    ------------------------------ ------------------------------ --------------
    STATUS
    ----------------
    _SYSSMU6$                      UNDO                                   131072
    OFFLINE
    
    _SYSSMU7$                      UNDO                                   131072
    OFFLINE
    
    _SYSSMU8$                      UNDO                                   131072
    OFFLINE
    
    
    SEGMENT_NAME                   TABLESPACE_NAME                INITIAL_EXTENT
    ------------------------------ ------------------------------ --------------
    STATUS
    ----------------
    _SYSSMU9$                      UNDO                                   131072
    OFFLINE
    
    _SYSSMU10$                     UNDO                                   131072
    OFFLINE
    
    _SYSSMU11$                     UNDO_02                                131072
    OFFLINE
    
    
    SEGMENT_NAME                   TABLESPACE_NAME                INITIAL_EXTENT
    ------------------------------ ------------------------------ --------------
    STATUS
    ----------------
    _SYSSMU12$                     UNDO_02                                131072
    OFFLINE
    
    _SYSSMU13$                     UNDO_02                                131072
    OFFLINE
    
    _SYSSMU14$                     UNDO_02                                131072
    OFFLINE
    
    
    SEGMENT_NAME                   TABLESPACE_NAME                INITIAL_EXTENT
    ------------------------------ ------------------------------ --------------
    STATUS
    ----------------
    _SYSSMU15$                     UNDO_02                                131072
    OFFLINE
    
    _SYSSMU16$                     UNDO_02                                131072
    OFFLINE
    
    _SYSSMU17$                     UNDO_02                                131072
    OFFLINE
    
    
    SEGMENT_NAME                   TABLESPACE_NAME                INITIAL_EXTENT
    ------------------------------ ------------------------------ --------------
    STATUS
    ----------------
    _SYSSMU18$                     UNDO_02                                131072
    OFFLINE
    
    _SYSSMU19$                     UNDO_02                                131072
    OFFLINE
    
    _SYSSMU20$                     UNDO_02                                131072
    OFFLINE
    
    
    SEGMENT_NAME                   TABLESPACE_NAME                INITIAL_EXTENT
    ------------------------------ ------------------------------ --------------
    STATUS
    ----------------
    _SYSSMU21$                     UNDO_02                                131072
    OFFLINE
    
    
    22 rows selected.
    How do I bring them online?

    I tried this but did not work for me.
    SQL> alter rollback segment _SYSSMU1$ online;
    alter rollback segment _SYSSMU1$ online
                           *
    ERROR at line 1:
    ORA-00911: invalid character
    
    
    SQL> alter rollback segment '_SYSSMU1$' online;
    alter rollback segment '_SYSSMU1$' online
                           *
    ERROR at line 1:
    ORA-02245: invalid ROLLBACK SEGMENT name
    
    
    SQL> alter rollback segment _SYSSMU21$ online;
    alter rollback segment _SYSSMU21$ online
                           *
    ERROR at line 1:
    ORA-00911: invalid character
    
    
    SQL> alter rollback segment SYSSMU21$ online;
    alter rollback segment SYSSMU21$ online
    *
    ERROR at line 1:
    ORA-01534: rollback segment 'SYSSMU21$' doesn't exist
    
    
    SQL> alter rollback segment '_SYSSMU21$' online;
    alter rollback segment '_SYSSMU21$' online
                           *
    ERROR at line 1:
    ORA-02245: invalid ROLLBACK SEGMENT name
    
    
    SQL> alter rollback segment "_SYSSMU21$" online;
    alter rollback segment "_SYSSMU21$" online
    *
    ERROR at line 1:
    ORA-30017: segment '_SYSSMU21$' is not supported in MANUAL Undo Management mode
    
    SQL> ALTER SYSTEM SET UNDO_MANAGEMENT=AUTO SCOPE=SPFILE;
    
    System altered.
    Must I bring each segment online separately? Please guide me.
    Nith

    Published by: user645399 on February 23, 2011 14:52

    user645399 wrote:
    Shouldn't have 2 undo tablespace?

    Is that what you mean?

    Yes, above statements completely wrong.
    If you use single instance database (non-RAC) and then use an undo tablespace

  • cannot use the CD to install the printer. Series of HP Office Pro 85 A909g

    Cannot use the CD-Rom installation disc to install the printer.  Series of HP Office Pro 8500 has 909 g.  I need to know if I can download what I need to do my printer works.

    Visit the hp product page: http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?cc=us&lc=en&dlc=en&product=3752459
    Select the operating system of the computer and download the driver software.

  • Cannot use the functions F1-12 on my Satellite C55 - A - 19 K

    Hello

    Satellite C55 - A - 19 K have a keyboard drivers?
    I cannot use the functions F1-12 and can not get the wireless since it s on the keyboard...
    Any 1 can help please?

    This function is not controlled by the driver keyboard, but with utilities and tools specific to Toshiba.
    What operating system do you use?

  • Users on the network cannot use the files after upgrade to Windows 10

    When I switch to win 10 people on the network cannot use the files on my computer

    Hello

    Thanks for posting your query on the Microsoft Community.

    With the description, I understand that you have problems with network connectivity and access files on network on your Windows 7 machine. I will certainly help you to the query.

    I would be grateful if you could help me with more information to better understand the problem and a solution:

    1 is this computer connected to a network domain or home?

    2. what exactly happens when users on the network try to use/access files on this computer? Do they get an error message/code?

    In the meantime, I suggest you refer to the below mentioned thread and check if this is useful:

    http://answers.Microsoft.com/en-us/Insider/Forum/insider_wintp-insider_web/Windows-10-network-file-sharing/18fba63e-7b6c-46FE-BA23-575a634fcee8

    Hope this information is useful. Please write us back with the required information for assistance, we will be happy to help you.

Maybe you are looking for

  • Offset plugin Flash Firefox 14.0.1

    After the last update with Firefox, I ran nothing but questions about sites related flash and online games that require flash to use. I am running flash, 11.3.300.265, when I started this with this problem I was running an old version of flash update

  • Satellite S50-B-13D - Downgrade from Win7

    Hi, 2 of my friends and myself have bought this laptop. We will add 8 GB of RAM and an SSD to speed it up. It comes with win 8.1 x 64, but we all prefer Win 7. Can we get the license codes to an official Win 7 downgrade? I've seen the installation hi

  • HP Envy 750-287C: Support from HP because will not help me - perhaps someone here will be...

    Very recently, I bought this product to replace my HP slimline s5310f aging.  The new system has the 6th gen CPU core i7-6700 8 and 16 GB of RAM.  My old one has a core 2 CPU and 8 GB of RAM, so I thought the news would be incredibly faster. The new

  • duplicate photos in iPhoto and cannot empty the trash

    After update to El Capitan, I found that iPhoto was no longer on the machine. I prefer to use this program, so it downloaded. When I added my photo library, I had lots and lots of pictures duplicate. When you delete them, I found that I could not emp

  • Digital format in 0.000E + 0 in format string

    How to format a digital DBL double 0.000E + 0-shaped, functional screws? Do I need a REGEX for string format? Thank you Alan