How to get the line blank if the condition does not match

Hello..

I have 2 tables
create table chk1 (no , nm )
as select 1,'abc' from dual union all
select 2,'bcd' from dual union all
select 3,'cde' from dual


create table chk2 (no , nm )
as select 1,'abc' from dual union all
select 1,'bca' from dual union all
select 2,'cde' from dual union all
select 2,'dce' from dual union all
select 3,'cde' from dual
There are 2 rows of chk2 table for each record in the table of chk1.
Off 2 rows if a line is missing any rank must be printed as a blank line

I wrote the following query but of no use...
could you help me in this
select * from chk1 c1,chk2 c2
where c1.no=c2.no(+)
Thank you

Hello

You can do this:

SELECT *
FROM   chk1 c1,
       (SELECT NO,
               nm
        FROM   chk2
        UNION ALL
        SELECT   NO,
                 NULL
        FROM     chk2
        GROUP BY NO
        HAVING   COUNT(*) < 2) c2
WHERE  c1.NO = c2.NO(+)
NO     NM     NO_1     NM_1
1     abc     1     abc
1     abc     1     bca
2     bcd     2     cde
2     bcd     2     dce
3     cde     3     cde
3     cde     3     

Tags: Database

Similar Questions

  • Could not open install Assistant.  I get this error message: cannot install the application due to a certificate problem.  The certificate does not match the certificate of the installed application, does not support upgrades of the application or is not

    How do I download a trial of 12 items, Adobe?

    I followed the instructions to download assistant... but get this message: the application cannot be installed because of a certificate problem.  The certificate does not match the certificate of the installed application, does not support upgrades of the application or is not valid.  Please contact the author of the application.

    Hi alposer,

    Please delete the copy of Adobe Download Assistant you have installed, and then reinstall Adobe Download Assistant.

    Kind regards

    Rave

  • Content on the laptop does not match content on ipod

    Content on the laptop does not match content on ipod

    Content on the laptop does not match content on the ipod.

    How do you load the content on the iPod?  Manually (do drag and drop items on the iPod in iTunes), or automatically (set up screen settings of music from iPod in iTunes)?

    What content isn't is?  Unless your iTunes library is small enough to fit on the iPod completely, it is normal for the content on the laptop to not game content on the iPod.

  • Player version listed in the GUI does not match that of the executable file (new)

    I've posted about this before (http://forums.adobe.com/message/4817948), but has never been able to find an answer.

    I am currently deployment of Adobe Reader versions 10.1.5 using the MSI installer and group policy. The problem is that a user stops his midway to Windows 7 computer while installation MSI interrupt (i.e. screwing) installation process. I had to remove some entries from the registry and restart the PC of the user in order to restart the installation of the reader (something I've done in the past).

    To verify that the drive has been installed successfully, I navigate to the Reader (AcroRd32.exe) executable Program Files, double-click the executable, select on Adobe on the Help menu, check the version number in the info box and see that the version number is 10.1.4 (i.e. the old version that I'm upgrading to). However, when I travel to the Reader (AcroRd32.exe) executable in Program Files and and open the properties of the file, I see the version 10.1.5 (i.e. the new version I am upgrading to).

    So the Player version listed in the GUI does not match that specified in the executable box.

    It's the second time that this has happened with a Windows 7 PC. I've never known this kind of thing with a PC running Windows XP.

    Why is the different version number in the GUI? Where the version number read to leave for the GUI? The registry? Anyone can shed some light on this situation?

    Hi Grittyminder,

    Remove some reg entries is not going to give you clean uninstall if you pouvez get a viable product. You can run this to get a better result: http://labs.adobe.com/downloads/acrobatcleaner.html.

    While I don't know what the problem is, it would be interesting to check the version of the product using the MSI API as described in the guide of the administrator to the www.adobe.com/go/acrobatetk.

    Ben

  • Caveat "mixture of transparency of the document does not match destination... color space. »

    I have a poster in InDesign I want to save in PDF format for printing - when I try to save it as a PDF I get this warning:

    "Mixture of transparency of the document does not match color space of destination specified in the settings of export to the format Adobe PDF."  To avoid the appearance of color changes in the PDF file, click Cancel and change the merger of the transparencies of the document workspace or the destination color space.  Or click OK to continue with the current settings. ..."

    Is there something I need to change?  I use color profiles: profiles of color Source and Destination of the "work CMYK U.S. Web Coated (SWOP) v2.

    Thanks in advance for any idea,

    Chemol

    Edition > merger of transparencies space > Document CMYK.

  • When I do exercise machine of the staircase, the k/cal burned into the machine does not match with the Apple Watch of the activity

    When I do exercise machine of the staircase, the k/cal burned into the machine does not match with the Apple Watch of the activity

    Example of

    Stair machine 550 K/CAL

    Apple Watch 30 k/cal

    Hello

    During a workout on the upstairs computer, record your activity using the app to drive on your watch, choose the stairs like the type of activity no. This allows your watch to use sensors and the data most appropriate to evaluate the results of your activity (including your heart rate, which is measured continuously during the training, when the training app using).

    More information: use of the application of the workout on your Apple Watch - Apple Support

  • error indicates "file is possibly corrupted. The checksum does not match the checksum calculated.

    Hello world

    I use Vista Home Basic, SP2. Windows takes a lot of time in the judgment and often fails to do this completely. Windows after logout again a soft purr at the disk continues. Windows fails to start quickly. After several reboot it starts and sometimes even refuse except CD assisted.

    In order to repair boot directly from CD is not possible either. Jump the trunk and windows from the Windows CD start loading.

    Error, States "Checksum error. The file is possibly corrupted. The checksum does not match the checksum calculated'.

    Do I have to reinstall windows or any help please.

    Jean-Philippe

    Hello

    I suggest you to follow the methods and check.

    I suggest you perform a check disk in Windows Recovery Options.

    What are the system recovery options in Windows Vista?

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-are-the-system-recovery-options-in-Windows-Vista

    Warning of Chkdsk.

    Important: If all data on the hard disk may be lost when running chkdsk, as the chkdsk attempts to repair that affected sector.

    Diagnosing memory problems on your computer

    http://Windows.Microsoft.com/en-us/Windows7/diagnosing-memory-problems-on-your-computer

  • Needed to restore Windows on my computer, I can't install Photoshop CS6. Although the license, the site indicates that the number does not match.

    Need to restore Windows on my computer, I can't install Photoshop CS6. Although the license, the site indicates that the number does not match.

    Invalid License http://helpx.adobe.com/creative-suite/kb/error-serial-number-valid-product.html

    -http://helpx.adobe.com/creative-suite/kb/invalid-serial-number-cs4.html

    - and http://forums.adobe.com/thread/1038761

  • The application cannot be installed because of a certificate problem.  The certificate does not match the certificate of the installed application, does not support upgrades of the application or is not valid.  Please contact the application author.

    The application cannot be installed because of a certificate problem.  The certificate does not match the certificate of the installed application, does not support upgrades of the application or is not valid.  Please contact the application author.

    That's what I have I am trying to download adobe programs

    which is not a download error unless you use some sort of download manager/assistant that is also trying to install.  do you have a download manager/assistant?

    or is it an error of installation and, if so, what type of program (name and version) are you trying to install?

  • Director of Windows won't start; How to fix error: "component identity found in manifest does not match the identity of the requested component»

    Whenever I try to start Windows Movie Maker, I get the following error:

    "Sorry, cannot start Windows movie maker. Make sure your satisfied computer minimum system requirements before you try to start the Movie Maker and then try to update the driver for your video card if Movie Maker does not start".

    I know that my computer meets the minimum system requirements because it came with the whole package. I've also updated my video driver correctly several times. I even uninstalled Movie Maker, re-installed. Even uninstalled the complete set of Windows Live and re-installed, but it still does not work. After a lot of searching for answers, I found the event log in which this error:

    «Activation context generation failed for "C:\Program Files (x 86) \Windows Gallery\MovieMaker.Exe".» Manifest error or policy of the folder "C:\Program Files (x 86)" \Windows Live\Photo Gallery\WLMFDS. "." DLL"on line 8. Component identity found in manifest does not match the identity of the requested component. Reference is WLMFDS, processorArchitecture = "AMD64", type = "win32", version = "1.0.0.1". Definition is WLMFDS, processorArchitecture = "x 86", type = "win32", version = "1.0.0.1". Use sxstrace.exe for detailed diagnosis. »

    I don't know, but I think it's causing my movie maker does not start. I looked around even more of an answer to this question on how to resolve this error, and I couldn't find anything so far. Microsoft support said that I have nothing to do and it will solve automatically. Alas, I got this error whenever I tried to open Movie Maker (the time is equal to the time I tried to open it).

    What can I do to fix this?

    Thanks in advance.

    Hello JurrianH,

    You can go ahead and post in the forums alive in dealing with the problem with Live Movie Maker specifically. Please do not hesitate to answer, in the case where you are facing in the future other problems with Windows.

  • Download the image does not match the selected image - incorrect cataloguing.

    Hi have downloaded an image but it does not match the selected image.  He has obviously been catalogued incorrectly.

    AdobeStock_40645074

    Can you please SRS.

    stock photo.jpg

    The image image / I download who is it

    Untitled-1.jpg

    Thank you

    Hi Karen,.

    I have a license of the image on my end. You are right, that the preview is incorrect for the file I.

    We would get the image inspected and you will receive a credit on your account by Monday, May 16, 2016.

    Kind regards

    Gerard

  • HP Compaq 15 PC laptop 15-h024sg, do not installed the drivers, the characters on the keyboard does not match

    I am trying to install drivers such as WLAN, BLUETOOTH, CAM YOU in my laptop (hp Compaq 15 Notebook PC 15-h024sg), but I can't. It shows that my hardware or software does not support. I use Windowsn7 64-bit. More when I'm typing my keyboard and typing the characters do not match for all characters. So now, what can I do?

    Hello:

    You need the driver for the wireless card.

    http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3DswItem%253Dob_134477_1&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken

  • How to troubleshoot the plugin does not not in Acrobat

    Hi all

    I am just starting to develop my Plugin and I'm unable to troubleshooting / debugging.

    First of all, a bit of history:

    I start with a simple example, based on the example of BasicPlugIn that adds a menu item that displays a form of language c# .NET. I have the .NET extracted via a C++ wrapper shape.  I'll call the wrapper of the plug. At this point, the MyPlugInCommand method has a single line:

    CFW CoyoMenuFormsWrapper;

    This line is simply instantiated the exported class.

    If I DELETE this line and debug, everything is great. I touched my breakpoints and the menu item is displayed in Acrobat format.

    If I LEAVE this line and debug then nothing. No point of debugging, no menu item.

    I suspect this is a. Problem loading the DLL and I conducted depends.exe the and it showed nothing unusual. The exported dll that has the wrapper (Adobe2Net) is present and reported in detail.

    Acrobat records all errors that might give me a clue? I see nothing in the event logs or ProgramData. Any other suggestions on how to troubleshoot the loading has failed?

    Thank you

    Mark

    .

    Just followed this issue closely.

    I could get my plugin to work if the DLL in the folder plug_ins, but which was not possible for me. I opted to go down the road of COM Interop and it works very well.

    Thanks for the help.

    Mark

  • When itunes download get the error, does not have a valid digital signature that verifies the publication server

    I can not download itunes. I have windows vista.  I get the error message: does not have a valid digital signature that verifies the publication server

    Hi klofcc,

    1. are you able to download and install other applications without any problem?

    2. What is the full error message?

    I suggest that you try the steps from the following links to the article and check if it helps:

    Problem installing iTunes or QuickTime for Windows

    I hope this helps.

  • How to set the cursor does not to meet the opening?

    When Karma rings in my pocket, it always ends slide open like I'm taking it out. This answers the call, the caller is confused until I have finally get the phone to my ear. Worse even if when he slides partially open and then closes in the process, therefore hangs on the appellant. Is it possible I can set the phone to answer when I press the reply button?

    I had the same problem and never found an option to stop the opening of the slide to answer a call.  (Looks like another option that Motorola could include in an update of the firmware... If they ever come out with one.)

    But you can stop the call answer and then hang up.  Go to settings > Intial configuration > Slide closed and assign the task to continue.  At least if you change this setting, the call don't hang up while you get the phone to your ear and your pocket.

Maybe you are looking for

  • Menu bar and address bar disappeared

    I plead for a friend, but this also happened to me a while back. The menu bar (File, Edit etc), the address bar and the tab section have all disappeared. When it happened to me, I managed to get them all back by resetting Firefox somehow, but it's ar

  • When I'm exercising my watch takes random screenshots.

    When I'm exercising my watch takes random screenshots.  Of course, I'm flipping on a trampoline! Yet, no idea why? Or how to prevent? (I'm not acidentally by pressing the side button and the button)

  • HP Pavilion 15-p077tx: error CTO

    Restoration incomplete Component: Windows 8.1 tools of diagnosis Preinstall - TDCCalendar: FactoryUpdateError: brand name is not validNext step: Please check laptop model via EEPROM-------------------------------------------------------------- [ 7:07

  • Boot BIOS

    Hello! I have a problem starting after bios reset bios has no effect. Thank you!

  • PROBLEMS WITH THE UPDATES AND INTERNET

    WHENEVER MY COMPUTER DID AN UPDATE AFTER THE UPDATE I CAN'T GO ON THE INTERNET, I HAVE TO RESTORE TO A TIME BEFORE THE UPDATE, ALSO WHEN I TRIED TO DOWNLOAD JAVA AND FLASH, IT WOULDN'T LET ME ON THE INTERNET, NONE OF THE TWO, I HAVE A LAPTOP TOSHIBA