How to select all of the people who are not in any team?

Hello

I have a nice SQL expression that gives me accordingly all the "AGENTS" (people) working in a TEAM (a team)

Select one. "" AGENT_ID. "
a."NAME" | ' ' || a.' first NAME' 'Name',
c.libelle 'team ', he said.
a."DATE_EMBAUCHE" "Hire Date"
a."DATE_DEBAUCHE" «Date debauchery. "
of the OBSERVATORY. "" AGENT. "
b Observatoire.equipe_agents,
c Observatoire.Equipe
where a.agent_id = b.agent_id
and b.equipe_id = c.equipe_id
order by name

Now, how to select all the agents who do NOT work in any 'TEAM' (team)?

I tried but could not succeed!

Thank you for your help.

Christian

Dave solutions use an outer join ((+) in the joints), which should bring back all the records of the agent, even if they do not exist in the equipe_agents table.

Another approach would be to use a statement NOT EXISTS or NOT IN, for example

SELECT   *
FROM     agents a
WHERE    NOT EXISTS (  SELECT   1
                       FROM     equipe_agents ea
                       WHERE    ea.agent_id = a.agent_id
                     )

Tags: Database

Similar Questions

  • Some or all of the requested samples are not yet acquired: API change responsible?

    My Delphi program, which works very well under NOR-DAQmx 8.9.0f4 on a set of material, fails under 9.0.0f2 on what I received insurance material is equivalent. The error is «some or all of the requested samples are not yet acquired...» ». This happens even to slow scanning rates, and coming to suspect that the API has changed subtly in the transition from version 8 to 9. What is the probability is it? Now that I have access to the source code on the new hardware (NI PXI-1044 with computer integrated PXI-8110) is there something I can do to check this?

    Hi Francis,.

    Your program still calls DAQmxCfgDigEdgeStartTrig() for all the tasks of the slave? If you do not do this, the devices are beginning to acquire data at the same time, and since you pass 0 for the timeout parameter to DAQmxReadBinaryI16(), out-of-sync devices could certainly time-out errors.

    In addition, you must ensure you start the slave devices before the master device, so that they're already waiting for a trigger at the start of the master device.

    Brad

  • How do I know that the event log are reported to any server

    Hello

    I can see all the event logs and error logs using the event viewer. But I want to know if newspapers are reported to some server just we report about a bug or non-response to application/software using the reporting window.
    I want to check if the event errors are reported on some server or not, if yes, to which server it is reported. Is this possible?
    The observer of events, or any application in the windows operating system keeps track of these reported error logs.
    Thank you
    Pankaj

    Hello

    As mentioned by Palcouk, Event Viewer records all events and activities on your computer but does not send it to any server. The call you have received is wrong / will call that could come from a potential hacker.

    I suggest that you go through the items listed below.

    http://www.Microsoft.com/security/online-privacy/prevent.aspx

    http://www.Microsoft.com/privacy/default.aspx

    http://privacy.Microsoft.com/en-in/fullnotice.mspx

    http://www.Microsoft.com/security/online-privacy/overview.aspx

    I hope that helps!

  • How can I stop the transfer of emails for those who are not selected

    I don't know if my hotmail works properly... cause it sends e-mails to people who are not selected for?

    Mary

    Hello

    As you use Hotmail and Hotmail-related question you have posted. I suggest that you post you query on the Hotmail forum for assistance:

    http://windowslivehelp.com/product.aspx?ProductID=1

  • How can I see the photos that are not in an album?

    How can I see the photos that aren't in an album in the App "Photos"? I noticed that in the Album 'Pictures' are pictures I thought I deleted already. I would like to see all the photos in an album, so I can finally delete them.

    You can go the the file menu Photos and click New Smart Album, and then set the condition of Album - is not. This will create a smart album that will show you all the photos that are not in any other album.

  • I want to see just all the Photos that are not in an album - possible?

    Hello

    is it possible to see all the photos that are not in the album?

    Photo on Mac

    THX

    Stefan

    Yes, create smart albums with the rule 'Album isn't everything. "

    For the file menu: file > new Smart album

    This album will contain all the photos that are not in any standard album.

  • How to select all the text in an EditField?

    Hello

    I'm trying to select all of the text in an EditField using:

    EditField editField = new EditField("Label:", "ABC", EditField.DEFAULT_MAXCHARS, 0);
    editField.setSelection(0, true, editField.getText.lenght());
    

    but the text is not selected. Any idea? Thank you

    I do not see a method called setSelection in EditField docs, so not sure what it does even if it exists. Compile your code?

    When I need to select text, I use something like this:

    editField.select (false);

    editField.setCursorPosition (index1);

    editField.select (true);

    editField.setCursorPosition (index2);

    The text between index1 and index2 is selected.

  • How to load images in the 'People' app that has all my contacts and a lot of white sillouettes. Very frustrating! Rodcliff

    I tried every way I can think to get photos in this app and all the photos that I need are on the same computer, in 'Photos' photography only in that I can put my own photo account. None of the settings or the app command bar downstairs offer me the option. I'm stuck.

    Hello

    Thanks for posting your question on the Forums of community of Microsoft. We are here to help you with all your Windows questions or issues.

    You mentioned that you are unable to load the photos to the App to people with all your contacts in it and it is showing a white figure some of these contacts.

    What exactly are you trying to do? You try to set pictures to your contacts, showing the white figure?

    If you try to put photos of your contacts, showing the white figure in the people App, then I'm sorry to inform you that this can be done with the people App. This is because; the people App does not work like the other application to management of Contact where the contacts are stored in a local file on the computer. In People Soft, contacts are not saved to a local file. It is linked with the online account of that special person that you added to the App people.

    For example, if you add your Facebook account to the people App, all contacts that it will be shown in the people App, but they are not saved locally. It is just linked to your Facebook account. Thus, the image of a particular contact will change unless the account holder he spends his account.

    For more information on the application of people, you can visit these links:

    People soft for Windows: frequently asked questions

     

    http://Windows.Microsoft.com/en-us/Windows-8/people-FAQ

     

    Socialize and stay in touch

     

    http://Windows.Microsoft.com/en-us/Windows-8/people-social

    Hope this information is useful. You can publish all your queries related to Windows on Microsoft Community Forum and we will be happy to help you.

  • JavaScript: select all of the text, break the link style

    Hello

    I want to select all the text in a Document (in different independent text boxes) and then break the link of his style (in the program in the paragraph styles dropdown)

    Is this feature that can contain a script (javascript)?

    How to select all the text?

    InDesign CS6, OS10.7.4

    Thank you

    Hello

    app.activeDocument.stories.everyItem (). texts.everyItem () .applyParagraphStyle (app.activeDoc ument.paragraphStyles.item (0), false);     This should be applied [none] formats paraStyle and keep. the same charStyles.

    Your goal will be reached with the exception of the formats defined by using the definition of paraStyle info NestedStyle (GREP, NestedLineStyle)

    ==> those who disappear, I'm afraid.

    I hope that...

  • Facebook photos won't will be displayed beside the names of people who are online

    When I log into facebook I watch people who are online and noticed that their photos are not displayed to the top

    It is possible that you clicked on 'Block the pictures' from the context menu in an attempt to save an image.
    Check the image exceptions: Tools > Options > content: Load Images: Exceptions - see the web content, pop-ups, fonts and language settings

    A way to see what images are blocked is to click on the favicon (Site ID icon) on the left side of the address bar.
    Click on the "More information" button opens the Security tab of the "Page Info" window (also accessible via "tools > Page Info").
    Go to the tab Media of this "Page Info" window.
    Select the first image and scroll though the list with the arrow pointing downwards.
    If an image in the list is grayed out and there is a check mark in the box "block Images of..." and remove this mark to unlock the images from this area.

    See also the problems that cause to not show images and http://kb.mozillazine.org/Images_or_animations_do_not_load

  • Add "select all" to the context menu

    I find a bit of a pain to get the menu to select this command if I want to add select it all the windows explore right click contextual menu when I in yaws files (right hand).

    This is a tutorial on how to add "select all" from the context menu in Windows 7 - http://thecustomizewindows.com/2011/04/add-select-all-option-to-right-click-context-menu-in-windows-7/

    Jim

  • How to select one of the VMRC and WebMKS of vRealize of automation for the end user

    As you know, there are two Protocol to use the remote console to the configured virtual machine of vRealize Automation. I know how to select one of the VMRC and WebMKS on vCenter via Web Client, but I'm not sure whether vRealize Automation can select one of the VMRC and WebMKS. Is there anyone who knows about it?

    You can set in the law.

    Grant

  • 8 comps with 8 users, how can we all have the same fonts?

    InDesign CC 11.1.0.122 running x 64 build on 8 compositions with 8 users, how can we all have the same fonts?

    It is a very good use for Typekit fonts. If you use all the CC of InDesign, you are all allowed to them for use.

    If you send a document to a team member who has not downloaded the police, it is automatically synchronized on their computer.

  • Java Script: How to select all corner points?

    Java Script: How to select all corner points in the open document?

    This may be what you're after.

    Do not expect, this works on the complex paths.* *.

    very tight tolerance defined, this can be changed so smooth should not be too smooth.

    //------------------------------------------------------------------------------------
    //          Select "Sharp" or "Smooth" pathPoints
    //------------------------------------------------------------------------------------
    //
    //          Qwertyfly
    //          06/07/2015
    //          Version 1.0
    //
    //------------------------------------------------------------------------------------
    //
    //          *****Do Not expect this to work on complex paths.*****
    //
    //------------------------------------------------------------------------------------
    //
    //          Set tolerance here (this is in Radians)
    var tolerance = 0.0000000001;
    //
    //------------------------------------------------------------------------------------
    var doc = app.activeDocument;
    var myPoint, angle1, angle2, sel = "";
    var w = new Window('dialog');
    var B1 = w.add('button',undefined,"Select Corner Anchors");
    var B2 = w.add('button',undefined,"Select Smooth Anchors");
    var B3 = w.add('button',undefined,"Cancel");
    B1.onClick = function(){sel = "sharp"; goTime();}
    B2.onClick = function(){sel = "smooth"; goTime();}
    B3.onClick = function(){w.close()}
    w.show()
    function goTime(){
        w.close();
        doc.selection = null;
        for(var i = 0; i < doc.pathItems.length; i++){
            for(var j = 0; j < doc.pathItems[i].pathPoints.length; j++){
                myPoint = doc.pathItems[i].pathPoints[j];
                if(sel == "smooth"){
                    if(isSmooth()){
                        myPoint.selected = PathPointSelection.ANCHORPOINT;
                    }
                }else if(sel == "sharp"){
                    if(!isSmooth()){
                        myPoint.selected = PathPointSelection.ANCHORPOINT;
                    }
                }else{alert("error");}
            }
        }
    }
    function isSmooth(){
        angle1 = Math.atan2(myPoint.leftDirection[1] - myPoint.anchor[1],myPoint.leftDirection[0] - myPoint.anchor[0]);
        angle2 = Math.atan2(myPoint.rightDirection[1] - myPoint.anchor[1],myPoint.rightDirection[0] - myPoint.anchor[0]);
        return(Math.abs((angle1 - angle2)) > Math.PI - tolerance && Math.abs((angle1 - angle2)) < Math.PI + tolerance);
    }
    
  • How to select all text in a table with a single click cell?

    How to select all text in a table with a single click cell? I use TextField.selectAll () when you implement a table cell factory. But when I select a line with a single click, then a click on a table cell again: see the result image

    The text in the table cell is not all selected. What I simply selects all the text in a table cell when there is a click on it. How to realize that? Thank you

    Thanks for help ~.

Maybe you are looking for