By comparing the game without using to COLLECT?

I want to know if there is an alternative to the following query without using the COLLECT function.
I have two lists that contain number game:

List01
SetName; NUM
A; 11
A; 12
A; 13
B; 21
B; 22
C; 34
C; 36

List02

SetName; NUM
X; 11
X; 12
X; 13
Y; 21
Z; 34
Z; 22

I want to know how to find the list of the game in list02 who aren't in list01. I think the result is:
THERE
Z

Or:
Y; 21
Z; 34
Z; 22

I have this result with the following query. Is it possible to have the same result without using the COLLECT function?



CREATE or REPLACE type NUMBER_SET

AS

TABLE OF NUMBER;

WITH AS List01

(SELECT 'A' AS SETNAME, LIKE DOUBLE NUM 11)

UNION

SELECT 'A' AS SETNAME, 12 IN THE DOUBLE NUM

UNION

SELECT 'A' AS SETNAME, DOUBLE NUM 13

UNION

SELECT 'B' AS SETNAME, 21 AS DOUBLE NUM

UNION

SELECT 'B' AS SETNAME, 22 IN THE DOUBLE ISSUE

UNION

SELECT 'C' AS SETNAME, 34 AS NUM FROM DUAL

UNION

SELECT 'C' AS SETNAME, 36 IN THE DOUBLE ISSUE

),

AS List02

(SELECT 'X' AS SETNAME, LIKE DOUBLE NUM 11)

UNION

SELECT 'X' AS SETNAME, 12 IN THE DOUBLE ISSUE

UNION

SELECT 'X' AS SETNAME, DOUBLE NUM 13

UNION

SELECT 'Y' AS SETNAME, 21 AS DOUBLE NUM

UNION

SELECT 'Z' AS SETNAME, 34 AS NUM FROM DUAL

UNION

SELECT 'Z' AS SETNAME, 22 IN THE DOUBLE ISSUE

),

SetsFromList01 AS

(SELECT SETNAME,

CAST (AT COST VIRES (NUM

(ORDER NUMBER) AS NUMBER_SET) AS setofNUM

OF LIST01

SETNAME GROUP

),

SetsFromList02 AS

(SELECT SETNAME,

CAST (AT COST VIRES (NUM

(ORDER NUMBER) AS NUMBER_SET) AS setofNUM

OF LIST02

SETNAME GROUP

)

SELECT SETNAME

OF SetsFromList02

WHERE setofNUM NOT IN

(SELECT setofNUM FROM SetsFromList01

);

Thank you

Yes, you are right, ROW_NUMBER is not necessary.

SY.

Tags: Database

Similar Questions

  • Satellite C55 - how to force the games to use gforce GPU?

    Hello

    It seems that I have 2 graphics cards on my Satellite C55: a 4000 Intel and a gforce 740 m. I tried to force the games to use the gforce on Panel nvidia configuration, but in the games settings (for example in the Hardware tab of flight simulator 2004), shows only the Intel.

    No idea how to resolve this?

    Thank you

    > it seems that I have 2 graphics cards on my Satellite C55: a 4000 Intel and a gforce 740 m.

    The Intel GPU is part of the Intel
    The nVidia GeForce is the external graphics card and it can be used for the application of strong performance as games

    Check these youtube videos how to do this:
    https://www.YouTube.com/watch?v=WVBEPhE_Osg
    https://www.YouTube.com/watch?v=Zh4HCadTY_A

    You can assign any application to use the dedicated made Intel or nVidia GPU card.
    This can be done in the nvidia Control Panel.

    1. click on start and then Control Panel. Select Classic view in the left side of the window.
    2. double-click on the NVIDIA Control Panel.
    3. click view, and then add the "Run with graphic processor" Option to the context Menu. Close the NVIDIA Control Panel.
    4. right click on the title of the application and select run with GPU. Then, click on NVIDIA processor high performance.

  • I have all the games Age Of Empires, the versions of Windows and I changed to a Mac computers. How can I get the Mac version of the games and use my existing serial keys?

    I have all the games Age Of Empires, the versions of Windows and I changed to a Mac computers. How can I get the Mac version of the games and use my existing serial keys?

    Hello

    As you have bought Age of Empires for Windows OS, you will not be able to install the same copy of Age of Empire Windows version on Mac. However, you can contact the telephone support for confirmation on this issue.

    Here is the link:

    http://support.Microsoft.com/kb/295539

  • How to view NTUSER. DAT file as to the registry without using it?

    How to view NTUSER. DAT file as to the registry without using it?

    The file is from a different Windows instalation!
    I have Win 7 but it comes from my old Windows xp.

    Hi Leonnis,

    There are many ways to read the registry file without using regedit.
    Some ways:
    RegLookup: RegLookup project is dedicated to the direct analysis of Windows NT registry files. RegLookup is distributed under the GNU GPL license and is implemented in ANSI C. RegLookup provides a C API, a Python module and command line tools to access registry data structures.
    Download here: http://projects.sentinelchicken.org/reglookup/
    RegViewer: Is GTK 2.2 based registry Windows GUI file browser. It is platform-independent for the review of the files of Windows registry from any platform. Particularly useful in forensics files Windows of * nix systems.
    Download here: http://regviewer.sourceforge.net

    RegRipper:

    RegRipper is an application of forensics software open source developed by Harlan Carvey. RegRipper, written in Perl, is a tool for extracting data from Windows registry.
    Download here: http://regviewer.sourceforge.net
    KRegedit:
    kregedit is a KDE utility for the visualization of the native Windows registry files. It is similar to the regedt32 utility that is found on most Windows platforms. Only the format of the NT (NT4/2000/XP) registry is supported.
    Paulo Breim
    Centro Brasileiro Pericia

    Help, please!

  • How to set a component at the bottom of the screen without using setStatus()

    I created a custom horizontalFieldmanager and want to put it at the bottom of the main screen in my application. My custom horizontalFieldManager contains three fields of bitmap... help me please put it at the bottom of the screen without using the setstatus method.

    OKS... If it is finally... Thanks for the help

  • What creative programs cloud must be purchased to create a Web site, where purchases can be made on the site, without using a third-party Web site?

    What creative programs cloud must be purchased to create a Web site, where purchases can be made on the site, without using a third-party Web site?

    as mentioned there are several adobe programs that could be used to create your website from the front-end. There is none that would be used to create the back-end.

    all front-end creative programs are able to add the features needed to communicate with your Web site main.

    WordPress is a content management system, but also the design Web site handles so I'm not sure it makes sense to invest in programs oriented primarily as adobe design and use wordpress.

  • help in the application without using the pivot function

    Hi gurus,

    Can you please help write the query without using the PIVOT function.
     WITH indata AS
             (SELECT 1 sn, '123:456,789,323:456,213,344,345:5454' x
                from dual
              UNION ALL
              SELECT 2, 'abcd:fgrfr,rfrf,rfred,tg:tg,tg:ophhh,op,vdfgbh:poijn' x from dual),
            instr AS
             (SELECT a.SN,
                     rownum RN,
                     B.column_value || CASE
                       WHEN B.column_value NOT LIKE '%:%' THEN
                        ':'
                     END column_value 
                FROM indata a,
                     TABLE(CAST(multiset
                                (SELECT trim(SUBSTR(x,
                                                    (CASE LEVEL
                                                      WHEN 1 THEN
                                                       1
                                                      ELSE
                                                       instr(x, ',', 1, LEVEL - 1) + 1
                                                    END),
                                                    (CASE instr(x, ',', 1, LEVEL)
                                                      WHEN 0 then
                                                       4000
                                                      ELSE
                                                       instr(x, ',', 1, LEVEL) - 1 -
                                                       (CASE LEVEL
                                                          WHEN 1 THEN
                                                           0
                                                          ELSE
                                                           instr(x,
                                                                 ',',
                                                                 1,
                                                                 level - 1)
                                                        END)
                                                    END)))
                                   FROM dual
                                 CONNECT BY level <=
                                            LENGTH(x) -
                                            LENGTH(REPLACE(x, ',', '')) + 1) AS
                                sys.odcivarchar2list)) b)
            SELECT  col1_val2,
                    col1_val1,
                    col2_val2,
                    col2_val1,              
                   systimestamp
              FROM (select SN,
                          ROW_NUMBER() over(partition by SN order by RN) RN,
                           SUBSTR(column_value, INSTR(column_value, ':') + 1) VAL1,
                           substr(column_value, 1, instr(column_value, ':') - 1) val2
                      FROM instr ) PIVOT(MAX(VAL1) VAL1, MAX(VAL2) VAL2 FOR SN IN(1 as col1,2 as col2));
    Thanks in advance!...

    Any help would be appreciated.

    user590978 wrote:

    Can you please help write the query without using the PIVOT function.

    with indata as (
                    select 1 sn,'123:456,789,323:456,213,344,345:5454' x from dual union all
                    select 2, 'abcd:fgrfr,rfrf,rfred,tg:tg,tg:ophhh,op,vdfgbh:poijn' x from dual
                   ),
             t1 as (
                    select  x
                      from  indata
                      where sn = 1
                   ),
             t2 as (
                    select  x
                      from  indata
                      where sn = 2
                   ),
             t3 as (
                    select  level lvl,
                            substr(
                                   x,
                                   instr(',' || x,',',1,level),
                                   instr(x || ',',',',1,level) - instr(',' || x,',',1,level)
                                  ) col1
                      from  t1
                      connect by level <= length(x) - length(translate(x,'A,','A')) + 1
                   ),
             t4 as (
                    select  level lvl,
                            substr(
                                   x,
                                   instr(',' || x,',',1,level),
                                   instr(x || ',',',',1,level) - instr(',' || x,',',1,level)
                                  ) col2
                      from  t2
                      connect by level <= length(x) - length(translate(x,'A,','A')) + 1
                   ),
             t5 as (
                    select  lvl,
                            substr(col1,1,instr(col1 || ':',':') - 1) col1_val1,
                            substr(col1,instr(col1 || ':',':') + 1) col1_val2
                      from  t3
                   ),
             t6 as (
                    select  lvl,
                            substr(col2,1,instr(col2 || ':',':') - 1) col2_val1,
                            substr(col2,instr(col2 || ':',':') + 1) col2_val2
                      from  t4
                   )
    select  col1_val1,
            col1_val2,
            col2_val1,
            col2_val2,
            systimestamp
      from      t5
            full join
                t6
            on (
                t6.lvl = t5.lvl
               )
      order by coalesce(t5.lvl,t6.lvl)
    /
    
    COL1_VAL1  COL1_VAL2  COL2_VAL1  COL2_VAL2  SYSTIMESTAMP
    ---------- ---------- ---------- ---------- -------------------------------------
    123        456        abcd       fgrfr      23-OCT-12 11.50.12.015000 AM -04:00
    789                   rfrf                  23-OCT-12 11.50.12.015000 AM -04:00
    323        456        rfred                 23-OCT-12 11.50.12.015000 AM -04:00
    213                   tg         tg         23-OCT-12 11.50.12.015000 AM -04:00
    344                   tg         ophhh      23-OCT-12 11.50.12.015000 AM -04:00
    345        5454       op                    23-OCT-12 11.50.12.015000 AM -04:00
                          vdfgbh     poijn      23-OCT-12 11.50.12.015000 AM -04:00
    
    7 rows selected.
    
    SQL> 
    

    SY.

  • Is it possible to start and stop the servers without using nodemanager?

    Is it possible to start and stop the servers without using nodemanager? If so, how?

    Hello

    Please follow the link below, it will be useful

    http://docs.Oracle.com/CD/E1322201/wls/docs81/ConsoleHelp/startstop.html#1243161_

    Concerning
    Fabian

  • How to set CC at the beginning of the project without using the CC button?

    How to set CC at the beginning of the project without using the CC button? I want CC which by default and allow users to turn off if they do not need.

    Hi again,

    If you have a Standard Action, then just add a literal Assign cpCmndCC with 1 line. You can also follow what says Lieve, just add a short blade and apply the action on the second slide. Also if you have objects on the slide which advance to the next slide and then not using OnExit measures.

    Thank you!

  • Background color of sequence, the value without using a video track

    Hi, I can set the background color of a sequence, without using a video track of a white image file or as... I guess this should always made when I saw. Also the idea of the project is a white bgd and evrything with an alpha channel must key in front of a white background... the same account for all texts... + I don't want to lose the highest video track in the vertical center of the timeline for 1 substantive item unique.

    Seems to be a very standard task that needs to be used very often, if people use the first for multi media movies.

    Heaven can't given an option of background color in the sequence settings, project settings or Edit/Preferences... F1 or google pulls a lot on the inlay or layering, but when it comes to the simple question to set the background color of the sequence without using a video track for her... found nothing.

    Does anyone know if and how it works?

    Kind regards

    Frank

    The BG of each track in the sequence is ALPHA. That is to say. There is no color.

    You neeed to use a matte color for what you want to do.

  • Playing the game FarCry are many mods neet you can D/L but to use, you will be able to use the tilde (~) key in the game to use the new maps or mods

    im running windows vista and my tilde key does not respond when im in the game to bring up the mods can someone help me with this, thanks

    Thanks for the response, Aziz but by talking to a friend last night on YIM he asked me if I was using a wireless keyboard and I said yes, and it is only
    that would not, I pluged in a different keyboard and it worked, wireless keyboards so no more for me but thank you for your help

    Billybob912

  • I can't uninstall the games by using the control panel and I can not play games more... * OB... OB...

    Another problem of mine.

    > I use Windows Vista.

    > I can't uninstall the game in Control Panel.

    > When I click on uninstall, it says:

    *****************************************************
    "An error has occurred trying to uninstall (games).
    It may have already been uninstalled.

    You want to remove programs (games) and
    Feature lists? »
    *****************************************************

    > When I click on Yes, the game is still there.
    Even if I switch off the coast or restart the laptop.

    > Now, the problem is, I can't play (reflexorator) a few games my
    laptop. As there is no icon of the application that links to the game.

    > Means that there is stuff like: image folder, etc. But no icon than a link to the game.

    > It get worse when each game or stuff I download from the Internet as shockwave will not work.

    > When I click on it (after downloading), he said:

    **************************************************************************
    «Windows cannot find @# $% ^.» Make sure you typed the name correctly and try again"
    **************************************************************************

    > What should I do? Can you help me??

    > I use McAfee Anti-virus.

    Hello

    Welcome.

    To resolve this problem, you must install the Windows Installer Cleanup utility as administrator. To do this, right click on the Setup file (msicuu2.exe) and choose Run as administrator. If you are prompted for an administrator password or for confirmation, type your password, or click on continue.

    All the best!

    Thank you, and in what concerns:

    Diana D D - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Why can't I access the internet without using safe mode

    Help cannot access internet without using safe mode

    Hi Dharrington25,
     
    -Remember to make changes to your computer after that this problem started to happen?
     
    As you are able to access the Internet using the safe, put your computer in a clean boot state in order to identify the program causing this problem.
     

    Put your boot system helps determine if third-party applications or startup items are causing the problem. If so, you need to maybe contact the manufacturer of the program for updates or uninstall and reinstall the program.

    See KB Microsoft article below for more information on how to solve a problem by performing a clean boot in Windows Vista or in Windows 7:How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

  • Win7 uses data from the internet without using it

    I have a compaq presario cq57 with windows 7 home premium 64 with MSE chrome up to date Malware bytes updated

    When open chrome by using internet data without using it, I don't know why.

    If someone suffers the same?

    Thank you

    Peter.

    It did not work

    but I fixed it

    I changed to avg internet security

  • AS3 - bring an object to the front without using 'addChild '.

    I need to create a menu buttons which expand & overlap on rotation. These menu buttons jump the user to the frame of the scenario. In order to ensure that the buttons do not get covered by the other, I use the excerpt "to object to the Front.

    The code snippet adds selected on the front of the stage as planned, but that is using 'addChild '. This means that the buttons that are renewed are now visible from each image in the timeline. Is there a way to put a button on the front of the stage without replication is done by an extra child?

    See the screenshots for a Visual.

    addChild1.PNGaddChild2.PNG

    Thank you very much!!!

    Add all buttons to a parent movieclip, which exists only on the image where you want that they exist (and be seen).

    You can then apply the addChild method to that parent.

Maybe you are looking for