THERE ARE

Table t1(id)

1
2
null
3
4



Table t2(id)

4
null
1
9
8





select a.id from t1 a where exists ( select 1 from t2 b
                                 where a.id != b.id
                                  )
  
Why the above  query return 1,4 as o/p

1
2
3
4





Sorry, nulls seing, I reacted somewhat like Pavlov's dogs

In this case, NULL values create problems as a null value or not no-matches other null it is the operator that is null is assigned. (must be the heat even if it is 22:00)

You might be after

with

As T1

(select 1 id of all the double union)

Select 2 Union double all the

Select null union to double all the

Select 3 in all the double union

Select 4 double

),

As T2

(select 1 id of all the double union)

Select null union to double all the

Select option 4 Union double all the

Select 9 Union double all the

Select 8 double

)

Select a.id

from one t1

If not exists (select null

b t2

where a.id = b.id

)

ID
-
3
2

Concerning

Etbin

Tags: Database

Similar Questions

  • There are older versions of garageband?

    There are older versions of garageband?

    Since Apple has the distribution of their software online, you will face the following situation.

    • Once Apple releases a new version of an application software and makes it available on the App Store, the previous version is no longer available (unless you have saved a copy of the previous Installer on your disk).
    • The App Store is the only source where you can get the software. Apple has total control of the distribution and you can't go to Amazon or eBay to get an older version.

    Hope that helps

    Edgar *.

    < personal information under the direction of the host >

  • OS3 no other event - even though there are events

    I installed os3 on my Apple Watch, but the face displays "No. more Events" despite the fact that there are a lot of events.  How to view my upcoming events?

    Hello

    It can help restore your sync data:

    • On your iPhone, in the application of the watch, go: Watch My (tab) > general > reset > tap reset sync data.
    • The process runs in the background (invisible to you), allow a minute or two later.
  • control of fascist style of addons is a bad thing and prevents from getting the modules there are out there of dev.

    control of fascist style of addons is a bad thing and prevents from getting the modules there are out there of dev.

    This will be only stifle creativity and prevent new addons are made.

    Said heavyoak

    control of fascist style of addons is a bad thing and prevents from getting the modules there are out there of dev.

    This will be only stifle creativity and prevent new addons are made.

    How is that what does strike you?
    https://blog.Mozilla.org/addons/2015/08/21/the-future-of-developing-Firefox-Add-ons/

    «We are implementing a new extension API, called WebExtensions...» »

    The infrastructure of the current extensions will be gone and with it will have the advantage of current extensibility that Firefox had more Chrome and Opera. Kinda like the rating "fascism" for "communism".

    So at the end of next year we can be moaning about something much bigger than the current "signature" minor schism or "bump in the road."

  • There are all sorts of symbols in the upper part of the screen on different things. (Delete, answer, answer all etc)

    Thunderbird didn't work at all the other day and I had to keep going in the Task Manager to shut it down, but then he began to work the next day and it works. However, there are all these symbols covering in the upper part of the screen.

    It seems that you have a mixture of two different languages.

    Close Thunderbird.

    Back up your profile folder.

    Uninstall Thunderbird:
    Via 'Control Panel' or 'Settings' > 'programs and features '.
    Select Mozilla Thunderbird and click 'uninstall '.
    uninstall all instances of Mozilla Thunderbird.

    Download the language appropriate for your operating system from the link below and install it.

    Report on the results.

  • There are many versions I [changed an option] so that PDF files does not open in Firefox. v 42.0, now I have no pdf viewer by default/built-in at all.

    I don't know how long it was, but I decided that I didn't want to use the pdf viewer by default in Firefox at the time, and because things have been very slow in the browser, I disabled the default viewer and set options to ensure that all PDF files that are open outside of the browser and directly in Adobe. I have no memory of what I've done to get there in time.

    Now for c. 42.0 (and 41.0.2, front) when I go to Options > Applications and select one of the "Adobe Acrobat Document" s, my only options are always "ask," "Save the file", or «Use other...» "and there is certainly no option of Firefox Viewer in 'another use. »

    With Adobe Reader latest terms and the fact that they can now push updates when they want, I just * never * use again.

    How to bring back the integrated pdf viewer? I realize there are other pdf viewers and I'm picking through those, but I would still have a browser too.

    Oh, hang on, I missed something. When you go into Options > Application, the content type that you want to change is Portable Document Format (PDF) , which is the standard type application/pdf. (The others being obscure guys like Marlon who are not your problem). Does it work?

  • I am not able to change the video quality for you tube. There are only two options 360 and Auto. Please help me.

    Hi I am experiencing strange problem for 15 to 20 days and I am not able to change the video quality for you tube. There are only two options 360 and Auto. Help me please if you can because I have a slow internet connection and I want to play video at 240, as it was before. Thanks in advance for your help.

    Could check you whether YouTube is to serve its HTML5 player or the player based on Flash? If you right click on the drive, short a context menu should appear. If the full Firefox context menu is displayed, press and release the ALT key to erase that. The last line of the menu short usually indicates which player he is.

    I'll assume HTML5 because...

    On Windows 7, Firefox should show a wide range of formats in the HTML5 player. However, if some of the features of media are disabled, preventing video MP4 decoding, then YouTube offers only 360 p (with WebM coding).

    If you have intentionally disabled Media Foundation and/or DirectShow in topic: config, then perhaps you would prefer to use the YouTube Flash Player? There are a few Add-ons that can force YouTube to serve you a Flash drive. Either of them will do, you don't need both:

  • When I try to send an email to multiple recipients, I get this message: "there are non-ASCII characters in the local part of the address of the recipient. This is not

    I bought a new computer. When I try to send an e-mail to multiple recipients, now, I get this message: "there are non-ASCII characters in the local part of the address of the recipient. It is not yet supported. If please change this address and try again. "I don't know what are the non-ASCII characters, so I don't know what to do. I never had this problem on my old computer. Please explain in simple language.

    The 'local' part in the context of email addresses, the part to the left of the symbol @. The warning is a bit of a surprise, because in general the owner of a mail server is relatively free to specify the address format. There is a movement to allow the games to other characters to be used in the fields, so I'm a little disappointed to see that, apparently, e-mail does not support the latter in the local part yet or it can be your SMTP server that generates this message.

    ASCII characters ("American Standard Code for Information Interchange") are, on the whole, the English alphabet, uppercase and lowercase, as well as figures, common punctuation and case of things like the asterisks, obliques and media bars, but not of accented characters. But even apparently simple things like spaces and dashes have cousins who, at first glance, appear to be identical, but are not represented in the ASCII system. I am thinking especially nonbreaking spaces, dash and half-quadratin.

    But I don't know why your new computer must have caused these warnings.

  • The last time I used identifier apple of my father to the appstore on my macbook pro. (Now, I have my own apple ID). Sometimes, when there are apps that I want to update, a window would jump out to ask me to sign identifying apple of my father, but I want

    The last time I used my id to a friend for the appstore apple on my macbook pro. (Now, I have my own apple ID). Sometimes, when there are apps that I want to update, a window would jump out to ask me to connect to my apple to a friend id, but I want to update the application using my own apple ID. Is that what I have to use my apple ID to update the applications? Please help me!

    The last time I used my id to a friend for the appstore apple on my macbook pro. (Now, I have my own apple ID). Sometimes, when there are apps that I want to update, a window would jump out to ask me to connect to my apple to a friend id, but I want to update the application using my own apple ID. Is that what I have to use my apple ID to update the applications? Please help me!

  • Fails to download even though it States there are messages on the server

    says something like "1 of 50 download messages", then declare immediately any messages on the server. Summer like this for a few days, perhaps for an update? I don't remember when was the last. Today is May 16, 2015.

    To diagnose problems with Thunderbird, try one of the following:

    • Restart Thunderbird with disabled modules (Thunderbird Safe Mode). On the Help menu, click "restart with disabled modules. If Thunderbird works as usual, there is an add-on or theme interfere with normal operations. You will need to reactivate the modules one at a time until you locate the offender.
    • Restart the operating system in safe mode with network. This loads only the basics needed to start your computer while allowing Internet access. Click on your operating system for instructions on how to start in safe mode: Windows 8, Windows 7, Windows Vista, Windows XP, OSX
    If the safe mode for the operating system to resolve the problem, there are other software on your computer that is causing problems. The possibilities include but not limited to: AV scanning, virus/malware, background downloads such as updates of the program.
  • When sharing my project there are some clips that show a red screen with a camera saying error. How can I solve these clips if I can share the project correctly?

    When sharing my project there are some clips that show a red screen with a camera saying error. How can I solve these clips if I can share the project correctly?

    This happens usually when the import process was not completed. If you have the original camera card - or a copy of the computer of the map - you can probably use the re-import command (on the file menu) to fix things. In addition, it is possible that the original media is imported, but this transcoding was not. If you have chosen to optimise upon import, try to select clips in the browser and transcoding to optimized.

    Russ

  • TB check gmail, said there are 88 messages then download any.

    For some reason any TB stop working with gmail. It goes on the site, says there are 88 messages then will then send. I have unread messages in gmail. I put gmail to delete messages when they are downloaded from the server and it does not happen either.

    If you access the site mail.google.com can you read your mail there?
    Using IMAP or POP?
    Have make changes both TB stop working?
    Watch https://support.mozilla.org/en-US/kb/thunderbird-and-gmail

  • In the forum Coursera pages there are different icons and buttons, but I see that only holders of palce, small squares with letters in there. Any help?

    In the pages of the coursera.org forum, there are different icons and buttons. They do not display correctly. I can see only tiny forms square with characters in them. Hovering on them can display information in some cases, but it is not very convenient. Although they recommend Firefox, I use Chrome instead. Chrome has no questions here so far. Is it possible to view these icons correctly?

    Many sites now use downloadable fonts to create their icons instead of the traditional image files. So, there are some Firefox settings that might be a factor, as well as the NoScript extension, if you use this (blocked objects).

    (1) in the dialog box fonts Advanced, unchecking the checkbox which allows the site to use its own choice of fonts. To check that:

    "3-bar" menu button (or tools) > Options > content > button "Advanced".

    Here you must "allow pages to choose their own fonts.

    (2) on the deactivation of fonts downloaded in: config. It's less likely, or you remember probably not, but here's how to check on it.

    • In a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.
    • In the search box at the top of the list, type or paste the gfx and make a pause so that the list is filtered
    • If gfx.downloadable_fonts.enabled preference is bold and user, set false, double-click it to return it true.

    This seems useful.

  • I think Firefox is getting worse, because there are many Web sites that does not work properly with it, while my other browser Google Chrome can.

    There are many sites, but I will say only 1 site because I have very bad memory, so here's the problem, Web site Furaffinity.net, search for his website may not work properly with Firefox, its advanced research, help and toggle the button description can be click but nothing happened after a click. However, my other browsers, Google Chrome and INTERNET EXPLORER horrible can work properly. I tried to fix it by resetting Firefox but it doesn't work.

    Thank you, and I take back what I said about Firefox getting worse.

  • On my iPod Nano 7th generation, there are some artists who are not listed, although their songs are on the iPod. For example, I have two Blue Oyster Cult songs on the iPod and they show, but Blue Oyster Cult is not listed under "artists".

    On my iPod nano, 7th generation, there are artists who are not in the list of "artists". For example, I have two Blue Oyster Cult songs appearing under "Songs", but Blue Oyster Cult is not indicated under "artists". Is it possible to have the COB and other artists who do not appear to show up under the "artists"?

    See Missing artist or Album not with others by the same artist.

    TT2

  • When there are multiple users e-mail of files that are on the left of the screen can be hidden by other users?

    There are several people who might want to use Thunderbird on a work computer, but I don't like how all the e-mail files are open to the public view. It looks like anyone can see the emails without having to log on the account of others.

    It is regrettable indeed, and I don't think it's a good idea.
    You can opt for individual profiles, but this doesn't quite work for multiple users.

Maybe you are looking for

  • Network activity Firefox 33 is suddenly very slow on Ubuntu 14.04

    Background: I'm a software developer running Firefox on Ubuntu 14.04 33. I tried all the usual things to solve this problem, including: -safe mode-create a profile new and fresh-Disabling proxy http in settings-restart firefox and the computer-can us

  • T520: T520 Windows 10, installs updates always up-to-date

    Iamge for T520 Win10 and deployed, clients attempt to install updates windows repeatly when turnrd, fill do Write Filter being on. What is the preferred method of diabling updates on an image of Win10? I think that the base image would have this pre

  • Satellite L300 - primer not

    My L300 played upwards, itunes was the source of the problems. I decided to reinstall the factory settings of the F2 Setup utility that fixes everything very well. A day later, after you have reinstalled itunes and other applications, the computer we

  • AM and pm do not appear when I put the time as "hh: mm tt" or "SS tt" on Windows 7

    Hi. I recently installed Windows 7 and everything is ok, but I can't set the time, like I always do. You do know that Windows has the set time as "Hh: mm" (a short) and "HH" (a long) by default. I love the 12-hour format, and I always change... But o

  • Laboratory at home tips

    Hi guys,. I'm about to start my CCENT ICND1. I have a Cisco 2811 router and a Cisco 871 router. I know that they are a little older, but are enough to cover my needs during my studies? One is more appropriate than the other? Thanks :)