After the union, I want a row by omitting null Pls help

  CREATE TABLE T (chr1  VARCHAR2(20),chr2 VARCHAR2(20))
INSERT INTO T  VALUES('XX','YY');
INSERT INTO T  VALUES('AA','BB');

CREATE TABLE T1 (VAR1  VARCHAR2(20),VAR2  VARCHAR2(20))

INSERT INTO T1  VALUES('A','B');
INSERT INTO T1  VALUES('X','Y');

SELECT CHR1,CHR2 FROM t
union
select  var1,var2 from t1

OUTPUT
A     B
AA     BB
X     Y
XX     YY



IS IT POSSIBLE FOR ME  TO DISPLAY 
CHR1      CHR2        VAR1                VAR2
XX           YY           A                    B
AA           BB           X                    Y
Sorry, I changed the output
Pls help

S

Published by: a beginner Sep 9, 2010 12:24 AM

Published by: a beginner Sep 9, 2010 12:31 AM

Published by: a beginner Sep 9, 2010 12:40 AM

Published by: a beginner Sep 9, 2010 12:42 AM

Published by: a beginner Sep 9, 2010 12:42 AM
SELECT chr1, chr2, var1, var2
  FROM (SELECT chr1, chr2, ROWNUM rn
          FROM t) a,
       (SELECT var1, var2, ROWNUM rn
          FROM t1) b
 WHERE a.rn = b.rn

-Kaila Manu

Tags: Database

Similar Questions

  • Why the installation don't start after the message "installation wants to make changes?

    Why the installation don't start after the message "installation wants to make changes.  Type your password for this? »

    Hello

    He wants the password to your system administrator. Standard procedure on Mac for non-admin users

    Thank you

  • I don't understand why I can't login my account using mozilla but with googlechrome fb, I am able to do... Mozilla can load the fb site but cannot access my fb account... I'm uncomfortable with the use of mozilla as my browser... pls help thanks

    I don't understand why I can't login my account using mozilla but with googlechrome fb, I am able to do... Mozilla can load the fb site but cannot access my fb account... I'm uncomfortable with the use of mozilla as my browser... pls help thanks

    • "Clear the Cache": Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.
    • 'Delete Cookies' of sites that cause problems: Tools > Options > privacy > Cookies: "show the Cookies".

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the Add-ons is the cause of the problem (switch to the DEFAULT theme: Tools > Modules > themes).

    • Makes no changes on the start safe mode window.

    See:

  • Recurrent BSODS even after the repair facility. Hardware failure? Driver conflict? Help, please!

    I was troubleshooting my BSOD for about a week and I need help.

    Here's where I am. I cleaned the chassis and reinstall all components. Then I ran memtest for 8 passes without error. Then I got Majorgeeks through my dieting rigorous anti-malware. And there is no malware on the computer.  I could not find any obvious driver conflict. So I ran SFC/scannow and it found some errors, he couldn't fix. So I finally did a repair installation to see if file system cleaning would eliminate blue screens.

    I always get a BSOD.

    Which leaves me with what? A bad GPU? Unknown driver conflict? Bad motherboard?

    Here comes bluescreenview log for you to look over. If someone could help me please clarify, I'd appreciate it really any help I can get.

    Thank you.

    ==================================================
    Dump file: 073014-27892 - 01.dmp
    Crash time: 30/07/2014-15:26:46
    Bug Check String: IRQL_NOT_LESS_OR_EQUAL
    Bug check code: 0x0000000a
    Parameter 1: 00000000'00000088
    Parameter 2: 00000000'00000002
    Parameter 3: 00000000'00000001
    Parameter 4: fffff800'03656666
    Caused by the pilot: NDProxy.SYS
    Caused by the address: NDProxy.SYS + c8856a
    File description: NDIS Proxy
    Product name: Microsoft® Windows® Operating System
    Company: Microsoft Corporation
    File version: 6.1.7601.17514 (win7sp1_rtm.101119 - 1850)
    CPU: x 64
    Plant address: ntoskrnl.exe + 75bc0
    Stack address 1:
    The stack address 2:
    Address 3 the battery:
    Computer name:
    Full path: C:\Windows\Minidump\073014-27892-01.dmp
    Number of processors: 6
    Main version: 15
    Minor Version: 7601
    Size of the dump file: 286 280
    Dump of file time: 30/07/2014-15:27:42
    ==================================================

    ==================================================
    Dump file: 073014-27892 - 01.dmp
    Crash time: 30/07/2014-15:26:46
    Bug Check String: IRQL_NOT_LESS_OR_EQUAL
    Bug check code: 0x0000000a
    Parameter 1: 00000000'00000088
    Parameter 2: 00000000'00000002
    Parameter 3: 00000000'00000001
    Parameter 4: fffff800'03656666
    Caused by the pilot: NDProxy.SYS
    Caused by the address: NDProxy.SYS + c8856a
    File description: NDIS Proxy
    Product name: Microsoft® Windows® Operating System
    Company: Microsoft Corporation
    File version: 6.1.7601.17514 (win7sp1_rtm.101119 - 1850)
    CPU: x 64
    Plant address: ntoskrnl.exe + 75bc0
    Stack address 1:
    The stack address 2:
    Address 3 the battery:
    Computer name:
    Full path: C:\Windows\Minidump\073014-27892-01.dmp
    Number of processors: 6
    Main version: 15
    Minor Version: 7601
    Size of the dump file: 286 280
    Dump of file time: 30/07/2014-15:27:42
    ==================================================

    ==================================================
    Dump file: 080114 43243 - 01.dmp
    Crash time: 08/01/2014 12 h 22:50
    Bug Check String: IRQL_NOT_LESS_OR_EQUAL
    Bug check code: 0x0000000a
    Parameter 1: 00000000'00000088
    Parameter 2: 00000000'00000002
    Parameter 3: 00000000'00000001
    Parameter 4: fffff800'036 has 3666
    Caused by the driver: vga.sys
    Caused by the address: vga.sys + 2a7f56a
    Description of the file: VGA/Super VGA video driver
    Product name: Microsoft® Windows® Operating System
    Company: Microsoft Corporation
    File version: 6.1.7600.16385 (win7_rtm.090713 - 1255)
    CPU: x 64
    Plant address: ntoskrnl.exe + 75bc0
    Stack address 1:
    The stack address 2:
    Address 3 the battery:
    Computer name:
    Full path: C:\Windows\Minidump\080114-43243-01.dmp
    Number of processors: 6
    Main version: 15
    Minor Version: 7601
    Size of the dump file: 285 832
    Dump of file time: 01/08/2014-12:24:17 AM
    ==================================================

    ==================================================
    Dump file: 080114-29359 - 01.dmp
    Crash time: 01/08/2014-16:14:11
    Bug Check String: IRQL_NOT_LESS_OR_EQUAL
    Bug check code: 0x0000000a
    Parameter 1: 00000000'00000088
    Parameter 2: 00000000'00000002
    Parameter 3: 00000000'00000001
    Parameter 4: fffff800'03663666
    Caused by the driver: USBPORT. SYS
    Caused by the address: USBPORT. SYS + 1156 has
    File description: driver Port USB 1.1 & 2.0
    Product name: Microsoft® Windows® Operating System
    Company: Microsoft Corporation
    File version: 6.1.7600.16385 (win7_rtm.090713 - 1255)
    CPU: x 64
    Plant address: ntoskrnl.exe + 75bc0
    Stack address 1:
    The stack address 2:
    Address 3 the battery:
    Computer name:
    Full path: C:\Windows\Minidump\080114-29359-01.dmp
    Number of processors: 6
    Main version: 15
    Minor Version: 7601
    Size of the dump file: 286 344
    Dump of file time: 01/08/2014-16:15:09
    ==================================================

    ==================================================
    Dump file: 080414-142319 - 01.dmp
    Crash time: 08/04/2014-21:24:14
    Bug Check String: IRQL_NOT_LESS_OR_EQUAL
    Bug check code: 0x0000000a
    Parameter 1: 00000000'00000088
    Parameter 2: 00000000'00000002
    Parameter 3: 00000000'00000001
    Parameter 4: fffff800'03662666
    Caused by the driver: ntoskrnl.exe
    Caused by the address: ntoskrnl.exe + 75bc0
    File description: NT kernel & system
    Product name: Microsoft® Windows® Operating System
    Company: Microsoft Corporation
    File version: 6.1.7601.18409 (win7sp1_gdr.140303 - 2144)
    CPU: x 64
    Plant address: ntoskrnl.exe + 75bc0
    Stack address 1:
    The stack address 2:
    Address 3 the battery:
    Computer name:
    Full path: C:\Windows\Minidump\080414-142319-01.dmp
    Number of processors: 6
    Main version: 15
    Minor Version: 7601
    Size of the dump file: 286 544
    Dump of file time: 04/08/2014-21:25:25
    ==================================================

    Thank you!

    IRQL_NOT_LESS_OR_EQUAL (a)

    This indicates that Microsoft Windows or a driver in mode accessed kernel memory paged at DISPATCH_LEVEL level or above.

    This bug check is issued if the memory paged (or invalid) is accessible when the IRQL is too high. The error that usually generates this bug check occurs after the installation of the faulty device driver or service system, BIOS.

    Bugcheck A, {88, 2, 1, fffff80003662666}

    0: kd > k
    Call child-SP RetAddr site
    fffff800'00b9c038 fffff800'03681169 nt! KeBugCheckEx
    fffff800 '00b9c040 fffff800' 0367fde0 nt! KiBugCheckDispatch + 0 x 69
    fffff800'00b9c180 fffff800'03662666 nt! KiPageFault + 0 x 260
    fffff800 '00b9c310 fffff800' 03685df3 nt! KeInsertQueueApc + 0x42
    fffff800 '00b9c370 fffff880' 04a96f16 nt! IopfCompleteRequest + 0xb63
    fffff800 '00b9c460 fffff880' 04a64fb7 usbhub! UsbhPdoInternalDeviceControl + 0x4fe
    fffff800 '00b9c4b0 fffff880' 014da2b0 usbhub! UsbhGenDispatch + 0 x 57
    fffff800 '00b9c4e0 00000000' 001eed06 ffusb2audio + 0x52b0
    fffff800 '00b9c4e8 fffff880' 016884ba 0x1eed06
    fffff800 '00b9c4f0 fffff800' 0368c85c tcpip! TcpPeriodicTimeoutHandler + 0 x 714
    fffff800 '00b9c570 fffff800' 0368c6f6 nt! KiProcessTimerDpcTable + 0x6c
    fffff800 '00b9c5e0 fffff800' 0368c5de nt! KiProcessExpiredTimerList + 0xc6
    fffff800 '00b9cc30 fffff800' 0368c3c7 nt! KiTimerExpiration + 0x1be
    fffff800 '00b9ccd0 fffff800' 036798ca nt! KiRetireDpcList + 0 x 277
    fffff800'00b9cd80 00000000 00000000' nt! KiIdleLoop + 0x5a

    ffusb2audio.sys (driver of USB 2.0 audio Focusrite) refers to an invalid memory (0000000000000088).

    0: kd > lmvm ffusb2audio
    start end module name
    "fffff880 ' 014 d 5000 fffff880 ' 014e7000 ffusb2audio T (no symbol)
    Loaded symbol image file: ffusb2audio.sys
    Image path: ffusb2audio.sys
    Image name: ffusb2audio.sys
    Timestamp: Wed Oct 13 11:40:18 2011

    Very old driver, I recommend just completely uninstall the software and remove the device (if any).

    Kind regards

    Patrick

  • Float does not work? I need the text to the right of the image, but my CSS does not work. Pls help

    Hello

    I have some unusual difficulty get my images to float left/right in order to have text next to the image.  In the image I provided, the red arrow is where I'd like to be but little text whatever I put in the CSS file, the text starts at the lower right part of the left side of the image floated.  Can someone help me understand what is happening?  The code for the HTML code is located here http://codeviewer.org/view/code:1f51 the code for the CSS is here: http://codeviewer.org/view/code:1f52

    help.jpg

    I use the CSS code for a Web site I designed and that works very well in this Web site.  Why isn't it working here?  The name of the image is "fundraiser.jpg".

    Thanks for your help!

    Problem is caused by you not declaring the correct instructions for .float-left css class selector:

    Change this:

    {.float-left

    margin: 10px 5px 0 0;

    }

    To do this:

    {.float-left

    float: left;

    margin: 10px 5px 0 0;

    }

  • Number of AUD$ and dba_audit_trail of lines is different after the removal of a few rows of aud$ table

    Hello

    We have a database of GR 11, 2.

    I manually deleted a few lines of sys.aud$.

    remove the sys.aud$ where trunc(ntimestamp#) < 16 August 13 ';

    commit;

    But I have still a few lines in dba_audit_trail.

    SQL > SELECT COUNT (*) FROM DBA_AUDIT_TRAIL WHERE TRUNC (timestamp)

    SQL > = 15 August 13 ';

    COUNT (*)

    ----------

    26110

    SQL > SELECT COUNT (*) FROM SYS. AUD$ WHERE TRUNC(NTIMESTAMP#)

    SQL > = 15 August 13 ';

    COUNT (*)

    ----------

    0

    Please let me know after you remove manually, it is something else I need to do.

    Try this one:

    SELECT COUNT (*)

    OF SYS. AUD$

    WHERE TRUNC (((FROM_TZ (ntimestamp #, ' 00:00 ') in the LOCAL CAST) AS DATE)) = 15 August 13 ';

  • No sound after the downgrade from VIsta to XP on Presario C712NR, Please help

    After downgrading from Vista to XP SP3, my C712NR lost her completely.  I can't find the driver for the conexant HD Audio SmartAMC HD2 map.  Much appreciated if you can help.

    Hello

    MS-UAA for SP2 (required with a reboot before the Audio driver and Modem) here

    MS-UAA for SP3 (required with a reboot before the Audio driver and Modem) here

    Conexant High-Definition Audio here

    Unzip it to a folder... Use the device, right click "Audio Device on HD" Manager, choose Update driver,
    Not to communicate,
    Install from a list or specific location,
    Select don't search, I will choose the driver to install.
    For the hardware Type select 'show all devices '.
    Remove control "Show compatible hardware" and click on 'disk '.
    Next... Navigate to the unzipped folder and choose the "WiSVHe5.inf".
    Ignore XP when it complains.
    Reset.

  • After the involuntary factory restore, lost files, music, photos and printer HELP!

    Factory did restore on win xp 5 former yyr computer.  Lost files, documents, pictures, music. Get error message when I try to re install the printer. NETFramework 2.0 error even after download netframework re printer in car 4.  Help! can I recover my files? they are somewhere in my hard drive?  Is there any software that I can use to recover lost files? Help! Thanks John

    Hello

    Try this free prog.

    http://www.Piriform.com/Recuva

  • After the update my Photoshop keeps closing CC2015... Help

    I've updated my Creative Photoshop Cloud and now it crashes as soon as it opens

    Hi Linda,.

    Please follow these steps:

    1. keep Photoshop closed and browse to the location: Appdata\Roaming\Adobe\Adobe Photoshop CC2015\Auto recover

    2. move all the files under Auto recover on the desktop

    3. launch Photoshop CC2015 and go to Edit > Preferences > Performance > uncheck the option "use graphics processor.

    4. Restart Photoshop and see if that solves your problem.

  • MacBook air only 8 months. Fan of work strongly and draining the battery. Do you have any troubleshooting. Pls help.

    My Macbook Air is only 8 months old. I only use it for word processing and surfing the internet. Yesterday, it started to make a noise maybe the fan. I've done all the troubleshooting steps described in Apple and to other useful sites, but nothing helped. Is it still fixable? What could be wrong?  Is this laptop still under vices? Please help as soon as possible. Thank you.

    This laptop is still under warranty.

    It may be a problem with the fan, but it can also be a problem of some adware or other infections.

    It would be useful to find when you download the application Etrecheck of etrecheck.com well known information

    It produces a list, you can share it to the clipoard and paste here.

  • Windows 2003 server the trial verson activation error: "invalid product key. Pls Help.

    I am trying to activate my trial 360days WIn 2003 version but the error: "INVALID PRODUCT KEY".

    Please any help?

    It seems that the trial was for the RC2 release of the server - not the release.

    It is time-bommbed and it has expired yonks.

  • oject pro 8500 a HP printhead empty? do not fill in again with the new cartridge runs so out of ink? pls help

    HP officejet pro 8500 wireless, windows 7 sp1, 'y' cartridge must be replaced on-screen, no change in software.

    running out of ink during printing... draws 1/4 page and then fades down to nothing at the bottom of the page. History: necessary at the end of the work (a little), but completely run out of black ink. a friend gave me her used 1/2 940 gen ch black until I got a new. I have a new hp 940xl but it's always the same, I ran everything in the Toolbox align, feed, etc., but it will always print a full page? It's like the print heads are empty and do not fill the cartridge? Please help me. She was purchased on 29/11/11 but received 12/15/11 for my birthday children so its just out of warranty thank you, Darren

    It seems that the print head was filled with air. Once there, the air is very difficult to remove.

    try to clean the print head using the printer services.

    try to use your friends print head and see if it works

    You may need to just replace the printhead

  • I can't upgrade my membership to the package of $29 / mo. Errors every time. pls help. Thank you

    ~ pete

    Since this is an open forum, not Adobe support... you must contact Adobe personnel to help
    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific time) <===> NOTE DAYS AND TIME
    Don't forget to stay signed with your Adobe ID before accessing the link below

    Creative cloud support (all creative cloud customer service problems)
    http://helpx.Adobe.com/x-productkb/global/service-CCM.html
    -or by phone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • explains the assertion failed when trying to start L4... pls help

    pls help...

    http://forums.Adobe.com/message/4260633#4260633

  • want a row but get several lines

    Hello

    There is a report of payment details. He was asked to change such that there is only one line by the name of checkrun.

    I made a kind of Group on all amount fields no and switched the field amount to the sum instead of retail.

    Is what I get for each checkrun name, a line with all the information I want, but in addition and the additional row with the same amount of repetition. Verify the removal of duplicated lines does not help. Didn't help not make some kind of Group on the quantity; It gives just blank lines after the line required.

    This is urgent. Can anyone help?

    Thank you.
    Leah

    Hi Lea,.
    Maybe the field you see and which has not been deleted causing the problem,
    How complicated it will be to re-create the report with the kind of group you want?
    I have a feeling that if you recreate it, it will work correctly.

    Tamir

Maybe you are looking for