IN to join

Convert the query to join below.

ID is PK.



create table a( id number,flag number);


insert into a values(1,100);
insert into a values(2,100);
insert into a values(3,100);
insert into a values(4,200);




create table b( id number,flag number);


insert into b values(1,100);
insert into b values(9,100);
insert into b values(3,600);










SELECT * FROM B WHERE FLAG IN ( SELECT FLAG FROM A);


op/



9
100


1
100




SQL > select distinct b.id, b.flag a, and b where b.flag = a.flag;

FLAG OF THE ID

---------- ----------

1 100

9 100

Tags: Database

Similar Questions

  • How can I connect to a wifi network when I get the message 'safety recommendation' when I try to join?

    I have problems connecting to the WiFi at the hotel, as I have upgraded to iOS 10. When I try to join, I get a message "safety recommendation", and then it does nothing else. Prior to the update of the iOS, it would open an another Popup screen that lets me enter the password for the hotel but is not past with iOS 10. How do go?

    Please read use captives Wi - Fi networks on your iPhone, iPad or iPod touch - Apple Support.

    You may need to deselect Auto-Join and/or auto-connect on some networks in captivity. Otherwise, it may seem to connect for a second or two, only to disconnect immediately, leaving you without the possibility to open a session.

  • Join the tracks?

    Where is the join tracks option in iTunes 12.5.1.21?

    Do you mean "gapless playback".  This feature has disappeared with the introduction of iTunes 11.

  • Defining what songs will be available in offline mode after joining apple music

    Hello

    I have an itunes library that contains 20 GB of songs. I used to sync my library of music manually on my iphone so my iphone contained 14 GB of music.

    Now I joined apple music and all downloaded itunes my music library in the library of music to icloud and all songs appear on my iphone. The songs I used to sync with my iphone has a "local version" and the songs that I chose to not synchronize with the iphone are appearing as a 'cloud' with the symbol cloude version so that they not use my iphone storage.

    All of this is great. But - that's the problem: now, when I connect my iphone to my computer and enter in the music sync iphone settings, I can't change like before sync settings because I use the music to icloud service.

    Now what can I do if I want to change my songs will be available in offline mode (and use my iphone storage) and what songs will be available in their version of cloud? The only way I've found that I am able to do is to choose one song from the library on my iphone and press 'delete '. Then he turned to the version of cloud. But I have thousands of songs! I need to free up space on my iphone and its driving me crazy that I can't control accully of music that is on my iphone.

    Based on the iOS 9 (I have no iOS 10 in front of me)...

    On the device ' settings app > general > storage management > music '. You can select artists to remove or navigate to Albums & songs.

    I think that iOS 10 has also an option to delete in-app music...

    http://www.McElhearn.com/the-hidden-delete-song-button-in-the-iOS-10-music-app/

    I don't know what will happen if you re-sync with iTunes, it's probably going to copy any return, so you will need change the settings for synchronization if you always connect to iTunes.

  • How to re - join audio 10

    How does a re = join - or UN-release - the audio of a video clip in iMovie 10?

    I try to prune further to the bottom of the clamp, but becomes audio separated off in sync with the video when I do--and highlighting the two does not address them as a single unit again; the audio is always late. It's as if they must be physically re-merged to segment the extract does not throw the audio synchronization.

    You can only attach audio as an undo operation.  Sync the audio with the video depends on the small green vertical line so that they know.  As long as you do not allow to move, they will remain synchronized.  If you need to cut the video where is the green line, you first need to press control-alt and then click in the upper half of the audio track where you want the link to be repositioned.   You can then cut without affecting the synchronization.

    If all else fails you can usually restore manually synchronize if develop you first the timeline to its maximum (slider to the left of 'Settings').

    Geoff.

  • Import of classical music, I want to keep the titles joined

    I am importing a CD with various classical pieces in itunes 12.4.1.6

    Each room has various movements. I want to keep these movements as a whole.

    There used to be a command to do this. Now I can't find it.

    Thank you

    Tommy

    12 iTunes for Mac: import songs from CD - http://support.apple.com/kb/PH19607

    12 tip on join iTunes titles location https://discussions.apple.com/message/28270415#28270415

    Unite tip - https://discussions.apple.com/message/28661274#28661274 - you can reach all or a subset of titles, but they must be consecutiveand must be ascending in the sort mode manual even if another mode shows them in the right order.  So only appears the join option.  More it does that when you import CD audio format, not titles already in the library.

    May 2016 iTunes 12.4 (nothing really changed) - https://discussions.apple.com/thread/7578177

    They will also be highlighted, not only have ticked the boxes. - https://discussions.apple.com/message/29617243#29617243

  • Upgrade to ElCapitan. Can join is no longer docs to e-mail.

    When I try to attach documents (Word or PDF) to an email... it takes a long time when I see "joining documents" on my screen. When that ends, and I try to send the e-mail, told me to wait that the documents have finished loading. There are never any activity in my downloads for this session. He used to work fine before the upgrade to El Capitan.

    Try to see if the restart of Firefox mode without fail to ensure that it is not an add-on at the origin of a problem.

    https://support.Mozilla.org/en-us/KB/troubleshoot-Firefox-issues-using-safe-mode

  • How can I join a previous email a current e-mail message

    I would like to join an e-mail message sent previously to an existing e-mail message

    Right-click and select as before.

  • I created an account with Hightail (and received and responded to the verification email) but when I click on the down arrow next to Lacrosse "join".

    I created an account with Hightail (and received responded to the verification email), but when I click on the arrow next to the button "join" the 'link' button does not appear.

    Have you added hightail in the menu (alt + T) tools > options > Annexes > out.

  • If I were a bank how do I join the community to pay apple?

    If I were a bank how do I join the community to pay apple?

    Hello

    As a first step, it may be best to contact the merchant support Apple pay and explain the nature of your request:

    https://www.Apple.com/support/Apple-pay/feedback/

  • I try to use Hello but cannot join an active session, it is usually said 2 people are already signed.

    I am able to start a session, but I was not able to join by signing another pc usage. usually it is said there are already 2 users already signed.

    When you build the link, a small chat window should open at the bottom right. Which will automatically join you to the House.

    You can then share this link with anyone, or another computer, and they should be able to join.

    Note that for links build you, if you click on the link and have it in a tab, which currently stops anyone else to join.

    We are working on improving this in a future release.

  • ITunes has always "join tracks"?

    HELP, I have not used iTunes for some time and I'm looking for the feature "the slopes."

    12 iTunes for Mac: import songs from CD - http://support.apple.com/kb/PH19607

    12 tip on join iTunes titles location https://discussions.apple.com/message/28270415#28270415

    Unite tip - https://discussions.apple.com/message/28661274#28661274 - you can reach all or a subset of titles, but they must be consecutiveand must be in the ascending in the sort manual mode even if another mode displays in the right order.  So only appears the join option.

    It does that when you import CD audio format, no titles already in the library.

  • Solve a problem by getting an Airport Extreme to join my network.

    Greetings,

    I have a WiFi network, consisting of a router TimeMachine (primary Base Station), the AirPort Extreme Base Station and expansion of the Airport Express network

    I receive notification messages for these devices utility AirPort (Enter Password) - probably updates lately.  I do not know the passwords for these devices because I've had them so long and after initial installation and many updates of OS X I couldn't find entries for them in Keychain Access.

    Today, I made an attempt to reset the Airport Extreme to try and go through the installation routine and have the opportunity to create a new password and save it.  First of all, I did a soft reset and then tried a hard reset.  The results were the same for either - one error as follows...  Airport Extreme fits factory currently.  It is plugged in and running with a light orange blinking.  She appears in the WiFi menu as a new Airport base station.  Selecting menu launches Airport utility and a dialog box drop-down connection.  The dialog box States "collecting information on your network - preparation, Joining Airport Extreme and finally"an unexpected error has occurred, try again"there is a very brief message (.5sec) before the last error - try again.»  In my view, that it is said 'Extreme Base Station on your network'.  This could mean that because the TimeMachine works as the main base station, the Airport Extreme Base cannot be joined so that I can Setup/modify it.

    Ultimately I'd like to get the issue resolved for all three devices password, but I'm a little gushy now after this attempt

    Someone has an idea how to proceed.

    Thanks Dave

    There are several things going on, but you can fix pretty quickly is the password. It is a piece of information that you should really have - now and for the future. You can reset your password by sticking the end of a paper clip in the back of the airport for more than ten seconds. You will see the configuration on the Airport utility screen. Do not forget your password in the future.  At the end of this operation, you can see a firmware view - to take care of that.

    Once your airport is reset, and the password is updated and updates, you can see if there are any problems - if any. If there are additional questions, you can include a photo of the Airport utility screen.

  • If I join iTunes music are my free downloads?

    If I join iTunes music are my free downloads? Also is there a way to put my Spotify music in iTunes?

    If you want to say Apple music, Yes, they are free, but you must continue to subscribe to use.

  • My news story 'Date added' is now gone joined upward with the SYNC...

    They are now all updated to the date of synchronization instead, and my story when I added a bookmark is lost, very disappointing... A way to solve this problem?

    Fortunately, although I used the files in my favorites and nothing in the files is still intact in the history.

    My browsing history is also date F #$$ j also all my browse history even that "six months or more" is now dated to last week when I joined sync... not happy with it.

    HI cmyachtie,
    Yes, Firefox Sync and sync ICloud currently are not compatible. It is maybe what is causing duplicates. Add the Bookmark Deduplicator can help the immediate fix. However, with respect to accidents, signatures do not have a bug that are associated with them, and there are few comments. However there was mention of an antivirus that can be the cause. If this is the case additional troubleshooting for accidents caused by antivirus:_ http://kb.mozillazine.org/Firefox: _Issues:_Firefox_Won % 27t_St...

  • Old Time Capsule join new network

    I plan to upgrade my home network by buying a new Airport Extreme with 802.11ac as main router and let old TimeCapsule join the new network.

    I would like to know it's installation work? Let's all backup Time Machine of my MIC works well? Thank you.

    Unlike the AirPort Express, you cannot configure the old Time Capsule to join an existing network to use as a wireless Ethernet bridge. Instead, it will have to be configured to extend the network of the new extreme wireless if you want that connection between them in order to be wireless. This would still allow the Ethernet ports of the TC for your MacBook Pro to use for connectivity.

Maybe you are looking for