Get only the rows where there are no matches in the tables

To include in the results of a join with no matching rows, you can use a full outer join. In MS SQL Server provides the FULL OUTER JOIN operator, which allows you to include all rows from both tables, regardless of the presence or absence of values.
You can add a WHERE clause in a FULL OUTER JOIN to get only the rows where there are no matches in the tables. The following query returns only those products for which there are no matches in the sales order.
SELECT p1.Name, p2.SalesOrderID
FROM  TAB1 p1
FULL OUTER JOIN TAB2 p2
ON p1.ProductID = p2.ProductID
WHERE p1.ProductID IS NULL
ORDER BY p.Name ;
FULL OUTER JOIN is not supported in ABAP.  How can you solve this?
Thanks in advance,
Serena

Similar problems can often be solved by using subqueries, please have a look here and try applying it.
http://help.sap.com/abapdocu_702/en/abenwhere_logexp_subquery.htm
Thomas

Similar Messages

  • When using my iMac the screen turned blue and so I turned the compute off. When I turn on again power does get to the computer but there are no chimes and the screen remains black. Any advise please. David

    When using my iMac the screen turned blue and so I turned the compute off. When I turn on again power does get to the computer but there are no chimes and the screen remains black. Any advise please. David

    Hello DJJOC,
    Thanks for using Apple Support Communities.
    To start troubleshooting this issue where your iMac's screen will not illuminate, please reset your SMC by following the information outlined below.
    Resetting the SMC for Mac Pro, Intel-based iMac, Intel-based Mac mini, or Intel-based Xserve
    Shut down the computer.
    Unplug the computer's power cord.
    Wait fifteen seconds.
    Attach the computer's power cord.
    Wait five seconds, then press the power button to turn on the computer.
    Note: For Intel-based Xserve computers that are not responding, you can shut down locally, or by using remote commands, or by pressing and holding the power button for five seconds.
    Intel-based Macs: Resetting the System Management Controller (SMC) - Apple Support
    Take care,
    Alex H.

  • Can you use home share where there are 2 itunes on the same computer but under different user profiles?

    Can you use 'Home Share' where there are 2 itunes on the same computer, but under different user profiles?

    check out method one from this support article -> How to use multiple iPods, iPads, or iPhones with one computer

  • Hello On the creative cloud there are two versions of the software, for example photoshop cc and photoshop DC (2014) what is the difference thank you

    hello
    On the creative cloud there are two versions of the software, for example photoshop cc
    and photoshop DC (2014)
    what is the difference
    thank you

    See Installing the 2014 Release of Creative Cloud « Julieanne Kost's Blog

  • HT201317 I am trying to turn Photo Stream on - on my Mac when I get to the space where you are supposed to click the icon and go to Photo Stream - Photo Stream is not highlighted and nothing happens when I click on it -- what do I do?

    I am trying to turn Photo Stream on - on my Mac when I get to the space where you are supposed to click on the Photo Stream icon -- the icon is not highlighted and when I click on it nothing happens --- what should I do?

    the space that I am referring is the "screen" that pops up after I go to Apple icon - select System Preferences - the iCloud screen pops up and you are supposed to be able to click on the Photo Stream icon to turn Photo Stream on.  Well, the icon "Photo Stream" is not highlighted and has no check box so that I can select it to get to the screen that will let me turn Photo Stream on. 

  • After downloading and updating my iPhone my apps are now backed up on my laptop and I can't move them back over to the phone. I tried to follow the instructions in Help section, but the screen where you are supposed to select the apps to share won't let m

    The screen where you should select the apps you want to share is greyed out. It won't et me drag them either. Any thoughts?
    Thanks!

    Hi skippy2012trev,
    Welcome to the Apple Support Communities!
    I understand that you updated your Apple Id and password but now you are being prompted for the old information in iCloud. You are on the right track by changing the Apple ID back to the previous email address temporarily so that you can sign out. You should not need to verify the email address. After you edit the Apple ID back to the old email address and then sign out of iCloud on your iPhone, edit the Apple ID back to the address you would currently like to use. There is no need to change the password again, only the email address, unless you prefer to update the password again.
    If you're asked for the password to your previous Apple ID when signing out of iCloud - Apple Support
    Change your Apple ID temporarily
    If signing out and back in to iMessage or FaceTime didn't help, try these steps:
    Change your Apple ID to the Apple ID you used previously. You shouldn't need to verify the email address.
    Tap Settings > iCloud. Complete these steps only if the Find My [Device] setting is turned on:
    Scroll down and tap Sign Out, then tap Sign Out to confirm. If you're using iOS 7 or earlier, tap Delete Account, then tap Delete to confirm.
    Tap Keep on My [Device] or Delete from My [Device]. In either case, your data remains in iCloud and will be updated on your device when you sign in to iCloud again.
    Enter the password for your previous Apple ID.
    Change your Apple ID to the new email address that you want to use. You'll need to verify the email address.
    Return to Settings > iCloud and sign in with your new Apple ID.
    Cheers,
    Joe

  • App Store has badge showing 8 Updates available but when I open the App Store, there are none showing under the Updates tab

    My App Store Icon has a Badge showing that there are 8 Updates available.  When I open up the App Store and go to Updates, the screen is blank.  This is the first time I've experienced this and I don't find any other discussions in the Apple Communities.  This is only happening on my iPad 4.  My iPhone 5 is working perfectly. 

    It seems Apple is having some issues at their end. There have been hundreds of posts on the forum with the same problem.

  • Why do my video timings, specially in the parts where there are titles get changed when changing the format in a file converter?

    Hi, i am currently working on a project in NSTC format but seem to have a technical problem. I have exported it (in wmv.) but i want to convert it to MP4 (iPod) and DVD format. Now, I have tried to convert the video with many pieces of software and they all seem to change my timings (e.g a title is shown before it should). This doesnt happen in the .wmv file but it seems to happen on both DVD and NSTC. Am I doing something wrong in premiere or is it another problem?
    Thanks in advance

    I am not sure that I am following. You have a Sequence in PrP, and have your Titles positioned and their Duration set, as you need. (I'm assuming Lower Thirds, or similar). Your preview verifies that everything is proper and satisfactory. Then, when you Export to certain formats, the Titles have "moved," so that they no longer accompany the proper visual from, say Video Track 1. Is that correct? If so, I am sorry to say that I have no idea how that could happen. I just want to get clarification on the exact problem, and will consider what could be afoot. Also, others will likely benefit from a bit more info.
    Good luck,
    Hunt

  • I am new to Mac Pro but am purchasing one online.  can anyone tell me how to get the information from my Toshiba onto the Mac.  there are no stores in the state I live in.  Do I need to find a location and will they do a transfer from my I Tunes etc?

    I am new to Mac Pro and am purchasing one online  tonight.  Can anyone tell me how to get my information - Itunes, photos, and videos transferred onto the Mac from my Toshiba.  the state I live in doesn't have an Apple store but I could take it to Minneapolis when I go.  Any ideas where to begin?

    You might profit from a visit to a Minneapolis Apple store. With a brand new Mac, I think they will be most helpful - not just with transferring files, but with other advice as well. And I strongly recommend you invest in a back up drive. The Apple folk can help with that as well.

  • I am trying to restore my iph 4S because my email account is frozen and the Genius Bar's reboot did not fix the problem.  When I click restore I get a message that says "there are purchased items on the iphone that have not been transferred to your iTunes

    ...Library.  But I have no idea which ones and how to do that.  Can someone help me?

    Transfer Purchases >  File > Devices > Transfer Purchases
    More Info Here  >  http://support.apple.com/kb/HT1848
    RmeWa wrote:
    I have no idea which ones
    iTunes on your computer will Automatically do the work for you.

  • Deleting data from a table where there are no indexes on the table

    Hi
    We have one interface program for one time process.When I was testing the process it was taking too much time to load the data around 1000 records.
    it happens in 2 steps
    1 puts into stage table
    2 puts into base table
    in the process/package I have delete statement that deletes data from stage table before each process.
    Stage table did not have any indexes but the base table has(obvisiosly)
    any idea?
    please help me on this.
    Thanks,
    Y

    Hi,
    Please post the application/database details along with the OS.
    Is this interface program a seeded or custom one?
    Please enable trace on this concurrent program as per (Note: 296559.1 - FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12) and generate the TKPROF to find out why it takes that long to load/delete the data.
    Thanks,
    Hussein

  • Sarafi won't start up. Hard drive crashed, reinstalled Lion from Safe Mode. and Safari still won'topen. I get an error message. There are no files in the extensions folder.

    How do I clear the error in Safari? I've reinstalled Lion 3 times and the error won't clear.

    Well Apple Suupport is still tops in every book.
    The fix for my problem was so ridiculously simple, I can't beleived it worked.
    But somehow the mouse install disk (stuck in the drive) was disrupting the start up. I was instructed to take the batteries out of the wireless mouse.
    IT WORKED.
    Not sure if anyone that's had this similar problem is using wireless devices, but take the batteries out of them, use plug in devices to work around the problem, eject the CD and if you luck out like I did, it'll work
    Thanks Apple my faith is renewed

  • Reporting on buttons in the LMS, when there are multiple buttons on the page

    I have a project, it is 2 slides in multiple languages adding up to 38 slides. The first slide appears in English . The user can click the language of their choice or  click I agree (reported action to the LMS for completion). If they click I agree, no problem.  They score 10 points and the requirement for completion is to score 5. 
    If the user clicks their language, they have the option to click I agree (reported action to the LMS) or they can go Back to English (Jump to first slide).  When I add the  reporting on the I Agree in the language slides.  The Back to English button will only advance to next slide even though it isn't set up that way.  The functionality works fine if I'm not trying to set up reporting.  Any suggestions?

    Hello and welcome to the forum,
    Not sure if I understand well, but think you are bumping into the Quiz scope... I have been trying to explain this in a blog post, with other functionalities of Question and Score slide:
    Question Question Slides
    Lilybiri

  • There are multiple users with the same display name

    Hi,
    We have a user and when she get an item assigned to her she sees the following alert:
    "There are multiple users with the same display name USERNAME and at least one of them does not have read permissions to some of the files"
    Now I looked in the database and when I run the following query with the username:
     SELECT     
         [ProviderDisplayName]  
        ,[DisplayName]  
        ,[HasDisplayName]  
        ,[Domain]  
        ,[AccountName]  
        ,[UniqueUserId]  
        ,[LastSync]  
      FROM [Tfs_Configuration].[dbo].[tbl_Identity] where displayname like '%USERNAME%'  
    Then I get 2 same usernames back, How can I get rid of one of them ? When I access TFS trough the portal I only find 1 occurence of this user.
    We use VS2013 and TFS2013 update 4
    Best regards

    Hi DSW,  
    Thanks for your post.
    In your query result, please check if these two users have the same Account Name. if they are two different Account Name in result, it indicate there’s two users have the same display name in your AD, please check that two users’ information in
    your AD. We suggest change one user’s display name in AD.  
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I used Finder to organise my iMovie events into folders. In iMovie I can see the folders but the software says there are no events present. What can i do?

    I used Finder to organise my iMovie events into folders. In iMovie I can see the folders but the software says there are no events in the folders. What can I do to rectify?

    Very carefully use Finder to move the Events back to the top level of the Movies/iMovie Events folder. iMovie will not see them if they are nested in Folders.
    If they are on an external drive, move them to the iMovie Events folder at the top level of the drive.
    However, you can put iMovie projects in folders if you want.
    It is best to do all moves and renames in iMovie so you do not destroy the links in your Projects. However, you need to move your events back to where they were in the Finder sonce iMovie cannot see them.

Maybe you are looking for

  • My 80 gig ipod color stops updating half way through

    My ipod 80 gig color stops updating half way through the synch process. I have tried to restore it and it still fails and gives me an error message saying it cannot read or wrtie to the ipod after it is half way loaded after trying to load 5000+ song

  • How to identify toll free numbers in CUCM

    Hi  I am new to this Cisco VOIP system. My Company has many toll free numbers. I need to know where can I find the toll free number details. I had a request today to alter few settings in them. But I dont know what to do and where to do.  Eg : 800326

  • Stuck at Configuration Details when installing Enterprise Manager 12c linux

    Hi all I need a help with installations of Enterprise manager 12c. Usually it is a straight forward installtion. But this time, i encounter this error : ERROR:SQLException null Resultset Unable to connect to the database and validate whether it is a

  • Woo Hoo !! Downgraded Safari to 4.0.5.... ALL of the performance is back !

    Hello All, I used Pacifist to downgrade from Safari 5.0.3 to 4.0.5. Wow ! Now I remember what a great web browser my Mac offered ! FAST refreshes, FAST screen paints, NO...and I mean NO Flash issues. I highly recommend you downgrade your browser from

  • Creating a cropped h.264 - 640x240 iPod compatable video from NTSC DV

    Question: Does anyone know how to crop a 720x480 DV, 23.98fps video from Final Cut, to a 640x240, h.264 QuickTime file that is compatible with the iPod and TV? I've been at this for two weeks, combing the forums for an answer to this problem, and ha