column name is in the original order after table1 less table2

Windows XP/10.2.0.1.0

Table1 with the names of the columns: PLAN, ID, COUNTER, TEXT, COMMAND
Table2 with columns name: PLAN, ID, COUNTER

SELECT COLUMN_NAME FROM ALL_TAB_COLUMNS WHERE TABLE_NAME = TABLE1
LESS
SELECT COLUMN_NAME FROM ALL_TAB_COLUMNS WHERE TABLE_NAME = TABLE2

The above out put is STOPPED, TEXT. Is it possible that keep the original output in the form of TEXT, CONTROL column

Thanks in advance

Yes, since COLUMN_ID is no not part of your select clause, you have to actually change your query:

SQL> select column_name from user_tab_columns where table_name='MYTBL2'
  2  minus
  3  select column_name from user_tab_columns where table_name='MYTBL1'
  4  order by column_id;
order by column_id
         *
ERROR at line 4:
ORA-00904: "COLUMN_ID": invalid identifier

SQL> select column_name
  2  from   (select column_name,column_id from user_tab_columns where table_name='MYTBL2'
  3          minus
  4          select column_name,column_id from user_tab_columns where table_name='MYTBL1')
  5  order by column_id;

COLUMN_NAME
------------------------------
C3
C4

Nicolas.

Tags: Database

Similar Questions

  • I've renamed the images in a file and now they are all out of control, how to make their return to the original order

    I opened a drive with my camera phone, then renamed the photos with brief descriptions, and now they are all out of order. How to make back in the original order they appeared.

    Dennis

    Renamed files are apparently to be sorted by alphabetical order.
    It is the normal behavior of Windows.

    If you open the folder in question and go to... View / details... and
    Select the column that says: "Date picture taken", she should use
    photos.

    Also you can drag and drop photos to change position.

    Once you have pictures in the order you need... you can re-
    Number them in a batch to maintain order.

    Just go to... Edition / select all... right click on the first file name and choose...
    Rename... Enter the next number...

    .jpg (10001)

    Press Enter and the remaining files will be named in the order.

    You can also add a word if you want to identify the group.

    Summer vacation (10001) .jpg
    (Yes, there is a space between the letter n and the first parenthesis)

  • iTunes has changed the order of songs on an album. How to restore the original order?

    I have a classic album. iTunes has changed the order of the songs. How to restore the original order?

    Order of songs is controlled by the number of drive and the beaches. Set them accordingly.

    TT2

  • Xperia Z5: How to return to the original photo after you save the cropped photo?

    Hi, I wonder how I can return to the original photo after saving a photo cropped on my Xperia Z5. The cropped photo doesn't have a sufficient resolution so he could be put on a canvas, I want to return to the original photo before cropping. Thank you :-)

    Hello, troy_t!

    If you crop the photo, the original photo will always be there. You can crop photos on the Album and then use Photo Editor. It is a standard editing program that is provided with your Sony Xperia Z5. If you crop a photo and then save the cropped photo, the original photo will always be there. I can assure you that if you use the standard Photo editing program to crop a photo, the original photo will always be there, even if it was cropped. You can make as many photos cropped the image you want to crop as you want, because the original photo will always be there, even if you may have saved a version cropped the image you wanted at the origin of the crops.

  • DVD player was given a different name it's the original one.

    After running Fix - It Microsoft ATS, my DVD - ROM drive has been given this name: QSS_CD (K :), but I would like to be named DVD-ROM (f) Player, that's the original name.   How can I accomplish this?

    Well... 1 see if another hardware took f: If so, open the device mgr, locate the material.

    R.Click top, select "Uninstall", closing device Mgr. Go in run, type: diskmgmt.msc in msc, R.click

    on the DVD-ROM, select "Change drive letter paths", change the letter, close. If you are in the letter F:

    is not available, then to device mgr, select 'Disable' instead of uninstall, a pc reboot may be necessary

    in order to release the letter F:

  • How to save a file under a different name without losing the original file

    Each year, I kept records of donation for our local community garden.  When I was with numbers on OS 10.6, I could go to file > save as > then enter the new name.  Do it this way, I could keep the original file and also have a new file.  The original file will not lose its data.

    But now, when I go to file all I see is to save or rename.  Let me give you an example:

    In 2015, when the amounts of donations would start coming to me, I opened the file from 2014 and pulled all amounts.  I replaced the title of donations to the Food Bank in 2014 with the 2015 food bank donations.  I would like to go to file and select Save as and type the new name for the file.  Is there something I'm missing that I cannot save under?

    Hold down the Alt/Option key while clicking on 'File' in the menu bar. This will give you the Save as option.

  • can I reactivate windows 7 by using the ID of the original product after upgrading the hard drive.

    Original title: reactivate Windows 7.

    I want to spend the hard drive on my laptop.

    The question is, when I remove the old hard drive and put a new, obviously, I need to install windows on the new drive system, can I reactivate windows 7 by using the ID of the original product?

    If this is not the case, how can I do?

    Thank you.

    How to pass windows 7 to a new hard drive using Acronis True Image Home 2011:
    A step by step guide on the use of Acronis True Image Home 2011.
    http://www.PAGESTART.com/acronisnewharddrive01.html

    (Note: Acronis is now 2014, but the technique is the same)

    Other Image backup options:

    Acronis True Image 2014 - has a 30 day trial version available, key to test sent to your Email address.
    Note: Initialization of cloning and the road (creating a MBR) are not supported in the trial version.
    For the trial version, the recovery is only available when starting an Acronis Bootable Media CD.
    Install Acronis and then create a bootable media restoration/rescue CD before you start creating your first backup image
    http://www.Acronis.com/homecomputing/products/
    30-day trial: http://www.acronis.com/homecomputing/products/#tryorbuy
    True Image User Guides and documentation:
    http://www.Acronis.com/support/documentation/
    2014 supports XP, Vista, Windows 7, Windows 8 and 8.1

    Paragon
    Free version: http://www.paragon-software.com/home/br-free/
    Guide: http://www.paragon-software.com/home/br-free/download.html
    Home Version $ 39.95: http://www.paragon-software.com/home/brh/
    Support: http://www.paragon-software.com/support/

    Macrium Reflect free
    Free version: http://www.macrium.com/reflectfree.aspx
    (no technical support available for the free version)
    Macrum reflect Standard ($49.99)
    http://www.Macrium.com/personal.aspx
    Suport: http://www.macrium.com/ticket.aspx

    Note: For users who have a Western Digital hard drive, there is a free version of Acronis 2013:
    http://support.wdc.com/product/downloaddetail.asp?Swid=119
    Release notes: http://support.wdc.com/download/notes/ATI_WD_RN_5962.pdf
    Guide users for WD Version: http://support.wdc.com/product/downloaddetail.asp?swid=119&type=userguide&wdc_lang=en

    How to pass windows 7 hard disk nine or greater using the backup and restore of Windows 7
    http://www.PAGESTART.com/win7bckuprstrnhd072610.html

    After you moved to the new drive and are convinced that everything is working Ok, then you can format the drive or temporarily start from the old drive and open a prompt (run as administrator) and quick entry: slmgr /upk and press ENTER.  This allows to uninstall the product key from the old drive.

    J W Stuart: http://www.pagestart.com

  • How to recover the original features after installed CC

    My organization has bought the CC license for some of our systems. I installed it on a system where we already have a license on CS 6 installed by mistake. When I realized that, I advised our admin and he refused the license. However, none of the 6 Adobe applications open CS that worked correctly on this computer. I get a message that says that this Adobe license has been denied or rejected, or something like that. So I thought that it was as easy as uninstall CC and all other CC files send files to the Recycle Bin, but no. Even after all the CC files were completely removed from this computer, I still can't open the CS 6 original apps because the message about the license violated keeps popping up. How can I solve this problem? (so that the original CS 6 applications can still be used as if the cc installation never happened)

    Please check workaround under: joint licensing - if you have an active member of the creative cloud and a serial number for Lightroom 6

  • could not download the file ordered after five attaempts due to network problem

    Hello

    Could not download the ordered after five attaempts due to network problem.

    Assistance required.

    Kind regards

    Nilesh Shah.

    http://prodesigntools.com/tag/DDL

    http://helpx.Adobe.com/x-productkb/policy-pricing/CS6-product-downloads.html

    Mylenium

  • XML file back to the original file after record - why?

    Hi guys,.

    I work with a bit of XML and have questions, first of all, here are my measurements:

    (1) loading XML

    2) join XML

    (3) save the XML using PHP

    pretty simple, right?

    Well, why when I load the same XML file it reads the file without nodes appendend that I just added?

    I can open the XML file in Dreamweaver and see the nodes listed in the annex, but once I load the XML in the. SWF, it erases the nodes in the annex and not bed as the original nodes once again... a simplified version as follows:

    Original file:

    <? XML version = "1.0" encoding = "UTF-8"? >

    < people >

    < person >

    < name > Steve < / name >

    < / person >

    < / people >

    Saved the file, readable in Dreamweaver:

    <?xml version="1.0" encoding="UTF-8"?>

    <people>

         <person>

              <name>Steve</name>

         </person>

         <person>

              <name>Mary</name>

         </person>

    </people>

    When the .swf file is closed, then reopened to save another person, it opens:

    <?xml version="1.0" encoding="UTF-8"?>

    <people>

         <person>

              <name>Steve</name>

         </person>

    </people>

    My .swf is local at this point and the PHP and XML files on a server running PHP5.

    Apparently, the PHP script is correct, because it does not save the file correctly. I can save as < people / > as I hear it. But when I close the Flash .swf the URLLoader reads back the original XML data. Not sure how that's possible?

    When I change the location of the XML file to load in the URLLoader it changes so I know it's the same file that I saved for playback... I'm so confused.

    Hope this is enough detail for someone to help me,

    Thank you

    Sky

    It is extracted from the cache of your browser.  to prevent which add a query changing string when loading your xml file:

    urlLoader.load (new URLRequest ("yourxmlfile.xml? noCache =" + getTimer ()));

  • How to restore the original partition after reformatting accidentally installing windows 10

    See the problem below. I can not get a USB stick formatted with FAT to be recognized by bootcamp or to download the drivers to continue.

    The problem occurred after that my son wanted to re - install windows 7 after that that he has been upgraded to windows 10 and utilities disk to reformat the drive hard windows installed.

    OS X Terminal, you can post the output of

    diskutil list

  • Is it safe to delete the original score after successful cloning?

    I have a Mac mini mid2010. I swapped his optical drive to an SSD. Then I cloned the operating system partition and everything works perfectly. My question is whether it is safe to delete the original "Macintosh HD" that I cloned, or if there is a way to keep its files being accessible if I don't get them mixed up.

    Thank you

    Delete the old folder on the internal drive home page only. I should leave everything alone in case you need to boot from this drive. However, in general, it is safe to reformat the hard drive. But it depends on what you plan to do with it.

  • How to restore the image to the original size after compression of the file

    Compress the picture settings

    I compressed several photos from the emails and now when I open my photos on my computer, they are blurry - how do they return to the original? Do I have to change the size of the file? How can I change the size of the file (e-mail) to the documents? Any help would be appreciated...

    I compressed several photos from the emails and now when I open my photos on my computer, they are blurry - how do they return to the original? Do I have to change the size of the file? How can I change the size of the file (e-mail) to the documents? Any help would be appreciated...

    ===================================
    How_exactly_did you compress the files and are as follows
    your original files or copies?

    If the original files were crushed with the bass
    compressed resolution version that they are non-recoverable.

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • where can I find the original trunk after system recovery

    I made a recvry of the system. I need to add the boot in the file.i start looked in c for the boot drive. I found it c/boot. so I added it to the to the the file start and rebooted. is that correct?

    also, I want theoriginal BIOS F.1B for MY LAPTOP - HP PAVILION DV7 - LM726AV.  WHERE TO FIND IT?

    THX.  KRIS.

    May depend on exactly what you mean by the system recovery

    I don't know what you're trying to achieve with 'boot' or what exactly you mean

    You can find drivers for your laptop from HP support specific to your model, you should be aware that bad update/modify the Bios can cause a dead PC

    BIOS F.1B is the bios updated the original was F.13

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?OS=4063&LC=en&cc=us&DLC=en&sw_lang=&product=5112006#N1749

  • How can I back to the original page after a link to the different layout?

    I want my user to be able to click the link, and switch to the display of the page, then return to the original location so that they can continue to read the document. Right now I'm using bookmarks and Table of contents to post a link back to the area where the drive started from. There must be a better way. Thank you.

    Hi Tami,

    User can also use combinations of shortcut that is (ALT + LEFT ARROW) keys or the navigation path see-> Page Navigation-> previous view.

    Kind regards
    Rahul

Maybe you are looking for

  • Safari popup

    I visited a Web site and a popup with text of terraclick came twice. I do not download or clicked on anything whatever, and I think that he just disappeared. I googled now and I see that it might be some kind of virus. Can I check it out somehow if m

  • Email sent to the message window

    All other windows open regular size, with the exception of the forwarded message window that open narrowed. How to open to normal size

  • EA4500 + network bridged in Virtualbox

    Hi all I'll keep it short. I'm running Debian on Virtualbox as a server, but for some reason any the network bridge does not work. Every time I reset the server, work network bridged until I have to restart the server. After that, it no longer works.

  • Lexmark x 7350 wont install on Vista 64 - HELP

    Vista 64 home premium / all updates / Asus Pt6 / latest drivers and bios (0507) / 6 GB of DDR3 memory / adequate disk space / the latest drivers Ati HD 4650 / Lexmark X 7350 (runs and installs on xp pro and Win 2000 with no problems) / downloaded the

  • Explorer Windows continues to always work and restart.

    Original title: Windows 7. 32 bit. Please, I want to know why my Explorer windows always stop work and restart?