How to use the set operator

Hi all

Table 1: -.

NAME NO.

A 10

B 20

Table2: -.

NO ENAME

10

20 DF

I want to output as a Set operator using

NO NAME NO ENAME

A 10 EC

B 20 DF

Thank you

Try this,

with t1 in (select 'A' name, 10 no double

Union select name from 'B', 20 no double), t2 as (select 10 no, 'THIS' double ENAME

Union select 20 no, "DF" double ENAME)

Select name, t1.no, ename from t1, t2 where t1.no = t2.no;

Please tell me why you use the operation?

Thank you

Gérard

Tags: Database

Similar Questions

  • How to use the host operating system

    According to best practices, how he the host operating system should be used. Applications must be installed on the HOS or it must be installed in HOS and GOS be left to access the application in the virtual machine.

    I would like to create two virtualized partitions

    (1) HOS

    (2) GOS 1

    (3) GOS 2

    So I would like to know if any heavy application must be installed in HOS.

    Keep all the stuff on the guest has some advantages

    -You can run it anywhere where you have a VMWare host. This gives you great flexibility.

    -You can create easy backups, no need to set up the entire operating system again and again and install all applications again and again.

    -You can easily freeze the State of operational guest before making any changes (see before).

    -Depending on your environment, you become what some independent business strategies.

    AWo
    VCP / VMware vEXPERT 2009

    = Due to a lack of employees, human beings humans are working here. -Treat it with care, they are rare. =

  • How to use 'not like' operator in BI Publisher

    We build a report using BI publisher and need to put a check where you should see only the lines where the code does not start with S. We are aware of the starts - with operator in BI publisher, but when we try to use it with no, BI publisher generates an error. Can you please let us know how to use the not operator with "starts - with" or "contains" bi publisher?

    Also how to use 'not like' operator in BI Publisher?

    Any help will be really appreciated.

    Thank you

    You can use

    not(starts-with(ELEMENT_NAME, 'A')
    
  • How to use the adapter wireless Satellite C660D?

    Hello world!

    Crazy us looking for the adapter wireless Satellite C660D-164... is there an integrated? or do I have to buy an external? Can not know how to set up a wi - fi and bluetooth connection. The manual is not descriptive.

    Installed all the drivers form the site.

    Pleas help ASAP.

    As far as I know all the portable toshiba have too much especially the bluetooth and WIRELESS network card.
    Use of WLAN is very simply. Thing the most important ist wireless network adapter must be installed and activated correctly.

    In the document s user manuals, you can find good description how to use the WLAN.

    The question is: do you use your laptop with the original operating system preinstalled that you got with it or you use own preloaded?

  • No links to the local area network connection. But how to use the Internet again, please help establish a LAN connection.

    Original title: no local network connection

    No links to the local area network connection. But how to use the Internet again, please help establish a LAN connection.

    Hi H.mustafaakyurek,

    ·         What operating system is installed on your computer?

    You can view the following items on the creation of a network connection:

    Setting up a network home

    http://Windows.Microsoft.com/en-us/Windows7/setting-up-a-home-network

     

    Start here to set up a home network in Windows 7

    http://Windows.Microsoft.com/en-us/Windows7/start-here-to-set-up-a-home-network-in-Windows-7

     

    Setting up a wireless network

    http://Windows.Microsoft.com/en-us/Windows7/setting-up-a-wireless-network

    Also see the following articles on the connection of an Internet connection:

    What do I need to connect to the Internet?

    http://Windows.Microsoft.com/en-us/Windows7/what-do-I-need-to-connect-to-the-Internet

     

    Allows to connect to the Internet mobile broadband

    http://Windows.Microsoft.com/en-us/Windows7/use-mobile-broadband-to-connect-to-the-Internet

    Hope this information helps.

  • How to use the Group condition in the ODI mappings

    Hi Experts,

    I have a requirement in the customization of BI applications. Can you please someone explain how to use the LISTAGG function in odi mapping.

    I applied the LISTAGGR function at the level of mapping odi, but I get error below.

    Mapping of ODI: ColumnName: ENAME Expression: LISTAGG (EMP. ENAME, ",") THE GROUP (RANKING BY EMP. ENAME)

    Error:

    ODI-1240: Flow LIST_AGG_FUN_USAGE fails during an operation of integration. This flow of charge table target EMP_BI.

    ODI-1228: task failed LIST_AGG_FUN_USAGE (integration) on the scott_db of ORACLE target connection.

    Caused by: java.sql.SQLSyntaxErrorException: ORA-00937: not a function of simple-group


    Oracle query:

    If I used this sql query in the database the correct result is.

    SELECT DEPTNO, LISTAGG (ENAME, ',') WITHIN THE EMP EMP (ENAME CONTROL) GROUP. DEPTNO;

    Output:

    10CLARK, KING, MILLER
    20ADAMS, FORD, JONES, SCOTT, SMITH
    30ALLEN, JAMES, MARTIN, BLAKE, TURNER, WARD


    Please give your valid solutions, thanks in advance.

    Kind regards

    REDA

    If you try in #ODI12C then in the set of properties, you can select the column which should be used to group by.

    If it's 11g so its bit complicated. Simply replace the mapping with below codes.

    LISTAGG (EMP. ENAME, ",") WITHIN GROUP (ORDER BY ENAME) / * sum() * /.

    Magic!

    Thank you

    Chantal

  • How to disable the setting button in Tools - Options - advanced - network of windows registry?

    Dear support,
    Now, my office has use Firefox as default browser to access the Web server. And there is a policy that users must use ProxyServer. I don't want to change user setting in Firefox proxy. How to disable the setting button in Tools - Options - advanced - network of windows registry?
    Thank you.
    Treky

    You cannot use the Windows registry to disable the elements in Firefox. This link shows how to lock the proxy settings of Firefox, change the values as needed:
    http://www.stbernard.com/ip5kb/iPrism/whatsnew/50SupportFiles/SupportFiles/IP0460.htm

    A change of minor importance, in step 4, instead of add this line to all-js, you can create a file called local - settings.js containing the indicated line and save the file in the same folder as all.js

  • Satellite M300 - how to use the recovery disk

    Hello world

    I was wondering how to use the 2 recovery discs that I burned recently if I wanted to fix my USB ports (as seen in my Toshiba M300 - wire to USB ports)

    Any suggestions?

    Hello

    You can use the only recovery disk to reinstall the whole OS!
    This means that the use of the recovery disk will format the whole HARD drive and will set the laptop back to factory settings!

    If you want to use the recovery disk and then insert it into the ODD and the start-up of this disc.
    Then the installation of the OS should move forward and you should follow the instructions on the screen.

    All that s

  • How to use the product with laptop Portege R150 recovery CD?

    How to use the recovery CD product with laptop Portege R150 of Formate and reinstall the operating system?

    Mobile recovery procedure Asian does not for me but may not be very different as on mobile phones produced in Europe or the United States.

    Start your laptop and press F12 to display the boot options
    Place the recovery disc into the optical disc drive
    In the start menu, choose the CD/DVD drive and press ENTER
    The procedure of the facilities is expected to begin
    Follow the menu on the screen

    I do not know what will be shown at this stage, but it is not complicated to install the original recovery image. If you have any other questions please let me know what happens when upgraders begins. What options are displayed?

  • Pavilion dm4-3090se: how to use the SSD after restoration of the system of Windows backup disks?

    Hello

    After a lot of work, I finally could restore my OS using Windows backup disks that I created a few years back. (The OS has been corrupted when the power has been accidentally deleted from the system and the battery was dead)

    Restoring backup widows put everything on 444 GB C drive.  Nothing I put on the SSD drive d:-20 GB and there is nothing in the tools of HP E: drive - 4 GB

    How can I make use of the SSD drive to help speed up the system?  I see the system starts and runs more slowly now.  I'm ready to blow the current operating system and re-run the Windows backup utility.  But I need to know how to use the SSD during the restoration.

    Any help is appreciated.

    Thank you

    Bob

    Hey @llebrez,

    Welcome to the Forums of HP Support! This is a great place to find solutions and help our community!

    I understand that you have some information about using the SSD in your HP Pavilion dm4 Beats Edition Entertainment Notebook. I'd be happy to help you with that.

    The SSD in your laptop is used for a technology called Intel Smart Response. Intel Smart Response uses the SSD as a type of Cache smart to help load the items faster. The reason why that is not used currently is because the restoration of the system is not designed to use the SSD for intelligent caching and is not able to establish that on its own.

    If you want to configure Intelligent caching on your laptop, you can follow this guide provided by overclock.net: how: implement the Intel Smart Response Technology (SSD caching)

    I hope this helps. If you have more questions that I'm able to answer for you, please do not hesitate to ask.

    Please hold me.

    By pressing the Thumbs Up button below, you can always say thank you!

    See you soon.

  • How to use the video port with Vista on Qosmio G30

    Im running windows vista Ultimate edition.
    How to use the monitor in port?

    The Composite (in the port monitor) port is placed to the right.
    With the video component cable software plug-in delivered a CATV or satellite box can be connected to the computer to watch channels.
    You can for example use the Qosmio Player or Windows Media Center to watch other channels.

    As much as I know the ultimate Vista supports Windows Media Center, Windows Media Center HDTV.
    You should read some more details on your new operating system!

  • How to use the greenscreen on Imovie 10.1 effect?

    I have no idea how to activate Advanced tools for this version of iMovie, there is nothing in the preferences, how I use the greenscreen / any other adnaced tool such as the image within an image etc.

    I'm on OS X YOSEMITE 10.10.5

    Hello!

    I have finally (!) has found a way to do it!

    You must drag and drop the element above the other, not ON it (like I usually did before). Then the invisible square symbol in the setting bar appears, which allows to choose between the van greenscreen etc.

  • How to use the NI USB-6525 digital filtering feature?

    Hi can someone tell me how to use the 'digital filtering' feature of the NI USB-6525 device? How can I set up the device to turn on? Using LabVIEW or NI MAX?

    It is configured using a DAQmx property node:

  • How to stop the abandoned operation messages for the opening of the games on Facebook?

    Original title: how to stop the abandoned operation messages

    When I connect to my facebook and began to open the game or any game I get this error operation failed and it want start the game... I can open facebook and update the games, but it won't play...

    Hi Annspikes,

    1. what browser do you use?

    2. This only happens with Facebook game?

    3. you remember to make changes to the computer before this problem?

    If you use Internet Explorer, you can read the following article and check.

    Why do I get an "Operation aborted" error message when I visit a Web page in Internet Explorer?

    Hope this information is useful.

  • I am runing vista and do not know how to use the fax machine

    I am runing vista and do not know how to use the fax machine

    Here's how to set up Windows Fax and Scan: http://windows.microsoft.com/en-us/windows-vista/Set-up-your-computer-to-send-and-receive-faxes.  Navigate the reference links on the right for more information on how to send faxes and other information.  If you do this on every page you just, you can see all the articles on how to fax and scan and configure the system and solve problems, and many other subjects that may be necessary, useful or informative.  After that, you must be an expert on this subject.

    Here is a quick and easy way to send a fax in Vista: http://www.ehow.com/how_2029566_send-fax-vista.html.

    Unfortunately, the foregoing is available in Business, Enterprise, and Ultimate - not Basic or Home Premium.  In the latter, you need a 3rd party program.  If this is the case, here are some options:

    With the compliments of Bob F. http://www.vistax64.com/vista-print-fax-scan/127986-how-do-i-download-windows-fax-scan.html:

    Not available in Vista Home Premium Basic FAX. It is available in complete edition,
    Extreme and business.

    You might want to consider Snappy Fax at a low cost:
    http://www.snappysoftware.com/

    or the free version of BVRP:
    http://www.usr.com/BVRP/bvrp.asp

    or a full BVRP Classic Phone Tools 9: $29.90
    http://www.shop.Avanquest.com/USA/PR...S_CPT_homepage

    Look screen kinda gross but the product Snappy fax
    actually, is quite rich in features and works very well. BVRP also works very well,
    screen looks a bit better. Other that that, there are minor differences
    performance between the two.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

Maybe you are looking for