How can I get a non-existent value based on where clause

For example look at the table

SQL > select * from emp_temp;

EMP_NAME AGE
---------------------------------------- ----------
Jay 24
MUT 25
Leo 26
ARA 19



Select the age of emp_temp years where in (24,25,26,19,30);


The result I need is 30, since it is the age which is not available in the table.

In other words I need a query that compares the where values would adopt with the records in the table and give the value not existing.

(B-) B-) B-)

select * from table(sys.ODCINumberList(24,25,26,19,30))
minus
select age from emp_temp

Tags: Database

Similar Questions

  • How can I get the classic report value when I click on the record?

    Hi all

    I have a simple classic report and I want to get the empno when I click on record. For example, when I click on record 1, and I'll go '7369', if I click on the 3 card, and I'll go '7521'. How can I do this? Please help, thanks!

    Hi jane.kuang,

    Jane.Kuang wrote:

    Thank you very much!!! Your message is useful for me. But this javascript has something wrong. When I click on the first time, the empno appears only once, but when I click on the other record, empno appear twice, and I click on the third time, it appears three times... I'm new to JS, I don't know how to fix it. Thank you!

    Use instead the dynamic action to that effect.

    Here are the steps:

    • Change your region classic report-> section 'Attributes'-> 'ID' static-> give an id say myempregion static
    • Create a dynamic action with the following attributes:

    Event: click on

    Selection type: jQuery Selector

    jQuery Selector:

    #myempregion table.uReportStandard tbody tr
    

    Action: Run the JavaScript Code

    Code:

    var empno = $(this.triggeringElement).find('td[headers="EMPNO"]').text();
    alert(empno);
    $('#P21_X').val(empno);
    

    Items concerned: keep it unselected

    • Change once created, your dynamic action-> go to section 'Advanced'-> set 'Extended event', 'dynamic'.

    This will fix the following in the code of the Para:

    • The jQuery Selector used by Para to trigger the click event is bad. This will fix the multiple alerts.
    • Para code won't work on loading the page, but if there are many rows in the table and pagination for the report is in place, and then when you paginate your report, it will not work. But it will work with dynamic action 'Scope of the event' the 'Dynamic' value even when you paginate the report.
    • Finally, most of the dynamic interactions page must be converted to dynamic actions, this will help the maintainability of the code, instead of stacking the javascript in your page.

    Kind regards

    Kiran

  • How can I get a session state value in my apex or DML text field

    I put a session state in my procedure, in my text field in my I want to get the value of the form region. I try in my text field of the form in the default region, I try

    BEGIN

    APEX_UTIL.GET_SESSION_STATE('USER_SECURITY_PIN');

    END;

    but this does not seem to get the PIN of the session

    How can I do this please

    dave_414 wrote:

    I put a session state in my procedure, in my text field in my I want to get the value of the form region. I try in my text field of the form in the default region, I try

    BEGIN

    APEX_UTIL.GET_SESSION_STATE('USER_SECURITY_PIN');

    END;

    but this does not seem to get the PIN of the session

    How can I do this please

    Depends on the Type of default property item.

    Use a static text with Substitutions of State of Session with a string substitution of static text:

    &USER_SECURITY_PIN.

    or the body of the PL/SQL function (for example):

    return apex_util.get_session_state('USER_SECURITY_PIN');

    or Expression of PL/SQL with a bind variable reference:

    :user_security_pin

  • How can I remove a non-existent target ESX server from the list of vMA?

    I added some ESX servers at VMAs using "lt & sudo vifp addserver; hostname & gt; ».  These servers have been removed before removing the VMA.  Since they are not online, I get the message when you do "sudo vifp removeserver & lt; hostname & gt; "below.  How can I remove them from the list of targets vMA?  Thank you.

    Error: Unable to connect. Please make sure that the server is in place and is a supported version.

    If you are using the latest version of vMA 4.0, you should be able to do the following:

    sudo vifp removeserver  --force
    

    When it ask for password, just type in whatever she should remove just with strength of the management host.

    You can also take a look in the vMA configuration file that keeps track of hosts under management and erase the old entries:

    / etc/VMware/viconfig/viconfig. XML

    / Home/VI-admin /. VMware/credstore/vicredentials. XML

    Who gives a try and see if it helps, it is always advisable to withdraw before the host decommission but option 1 work usually, from what I've seen.

    =========================================================================

    William Lam

    VMware vExpert 2009,2010

    VMware scripts and resources at: http://www.virtuallyghetto.com/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • BluetoothSerialPortListener: How can I get information about existing ports?

    Hello

    I need information (packets sent/received) on the activities of bluetooth on a device and found the net.rim.device.api.bluetooth and the javax.bluetooth package. The samples that I found all Creation/use own bluetooth Manager and to implement their own methods of send/receive (so they can count themselve ). But I somehow tuned to the existing/default; I couldn't find out how.

    I also tried to use the RadioStatusListener, but it does not manage the bluetooth?

    Please give me some tip! Thank you

    There is no support for this within the set of APIs of BlackBerry.  An application cannot access Bluetooth connections made from other applications.

  • How can he update a non-existent string?

    I guess that 40 years of imperative programming has made me unable to understand this new fashion style of declarative programming! :-(


    Here is a short program from a book of Flex that I don't understand.

    During the initialization of the mx:Panel, which is supposed to be raised BEFORE the Panel will be created, he writes in a string of text "event_txt.text", which is defined IN mx:Panel, IE: AFTER the Panel has been created.

    And it works!

    How event_txt can be modified until it has been created?

    OK, I must be confused about when "initialize" is triggered.

    Can someone straighten out me?

    Is there a preliminary analysis of compiler BEFORE "initializing" to pick up all variable names?

    If yes, what else happens before "initialize"?

    Thank you!

    <? XML version = "1.0" encoding = "utf-8"? >
    <!--
    ////////////////////////////////////////////////////////////////////////////////
    Flex solutions: Essential Techniques for Flex 2 and Flex 3 developers
    Author: Marco Casario / / all rights reserved.
    Solution 1-5: presentation of the Flex event model
    @author Marco Casario / / @date 26 November 2007 / / @version 1.0 / / @site flexsolutions.comtaste.com
    ////////////////////////////////////////////////////////////////////////////////
    ->
    " < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "
    Initialize = "event_txt. "Text +="\n from Application initialization.
    creationComplete = "event_txt.text +="\n Application creationComplete shot"" > "

    < mx:Panel title = 'system events management.
    Initialize = "event_txt. "Text += ("\n initialize fired Panel') "width = '372' height = '234' <! - here's the declaration Initialize - >
    creationComplete = "event_txt.text += ("\n from creationComplete Panel') ">"

    < mx:TextArea editable = "false" height = "100%" width = "100%".
    ID = "event_txt" / > <!-this string is not set until AFTER initialization, right? ->

    < / mx:Panel >

    < / mx:Application >

    <!--

    ///////////// OUTPUT  ///////////////////
    Initialization of table driven
    Initialization of application fired
    Panel creationComplete pulled
    Application from creationComplete
    ////////////////////////////////////////

    ->

    Hi there, read this:

    http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=ascomponents_advanced_2.html

    You will find your answer in the reading component instantiation life cycle

  • How can I get a non-Microsoft mouse to work on my Windows 7 laptop

    I have just switched to a new laptop with Windows 7 and I can not change the allocation of mouse buttons. I'm a lefty and I need to move my mouse buttons.

    In help, asked me to come to microsoft to download a software, but it does not say that and I can't find it on the site.

    This is ridiculous, that Microsoft now restricts the functionality of mouse package.

    That looks like the Microsoft Intellipoint software is installed.

    Can you check "Uninstall a program" and see if there is an entry for "Microsoft Intellipoint"?

    If so, you can uninstall "Microsoft Intellipoint"?

  • How can I get rid of the error based on trace checker.js stock lightbox

    This error came when I was with argos web site

    Hi JudithKeegan,

    1. what web browser do you use?

    2. What is the full error message?

    3 did you do changes on the computer before the show?

    If you are using Internet Explorer then I suggest read the following article and check if the problem persists.

    Correct errors in Internet Explorer

    http://support.Microsoft.com/kb/822521

    You can consult the section "Having trouble accessing or using this Web site?" of this article and check.

    http://www.Argos.co.UK/static/StaticDisplay/includeName/HowToUseTheSite.htm#13

    Also communicate with the support of Argos for assistance on the issue:

     

    Support of Argos

    http://www.Argos.co.UK/static/StaticDisplay/includeName/contactus.htm

    Let us know if this information useful.

  • In Illustrator, how can I get the cursor type to effectively indicate WHERE the guy is going to start?

    I don't understand. What is the point of having a cursor type at all if the cursor position doesn't look like whatever the point type will begin in? I checked all the Options in the type menu and any leader is zero, so there is no lag anywhere, but when I click on a particular spot on the page, it's because that's where I hope to see the type. What a laugh! No placement type correct, will never be. It must be scooted in place. using the arrow. Is it possible to make the entry point makes it a resemblance to the point ' by clicking on '?

    I don't see a problem:

    Your paragraph palette has something inside in addition to zeros? My guess is that you have left a big indent in the first field.

  • Hi, I have a PDF form that has multiple check boxes. Some boxes have values (off, yes) that others have just (Yes). How can I get the value of "Off" to all of the other boxes as well. Any help is greatly appreciated.

    Hi, I have a PDF form that has multiple check boxes. Some boxes have values (off, yes) that others have just (Yes). How can I get the 'Off' the value assigned to all the other boxes as well. Any help is greatly appreciated.

    'Off' is the default value of any box when it is not checked. It can not

    be changed.

  • How can I get rid of wlan optimizer to my pc

    How can I get rid of the optimizer based on CSSTidy WLAN of my pc, also error code ox80040154 can anyone help, kirky

    How can I get rid of the optimizer based on CSSTidy WLAN of my pc, also error code ox80040154 can anyone help, kirky

    Uninstall it by the manufacturer and/or contact them...
    http://www.Martin-Majowski.de/wlanoptimizer/

    Regarding the "80040154" error, where to get you?

  • How can I get rid of non-existent drive (local disk Q :) that is displayed on the screen of my computer?

    original title: How do I get rid of non-existent hard disk that appears on my computer screen?

    I have a local disk (q) that loads automatically on my folder "Computer" [the folder that shows all hard drives and peripheral storage removable]. The drive does not exist and when I double click above it says "Q:\\ is not accessible access is denied." I unplugged my external hard drives, and these drives disappear from the screen by this disc remains still.  How can I get rid of him?

    I found an article from third party in which people have found a solution:

    Hide the Local disk (q) added by Office 2010 Beta

    I hope this helps! (you can back up the registry first)

    Change the settings of the REGISTRY can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the REGISTRY settings configuration can be solved. Changes to these settings are at your own risk

    Lisa
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How can I get my favorites to show up on top of the actual bookmarks bar, even if they still exist in the bookmark toolbar menu drop-down?

    So I accidentally deleted the bookmarks bar, but when I enabled it again, my favorites have disappeared. However, they are still in the menu bookmark under "bookmarks bar". How can I get show them upward on the toolbar real? I restarted Firefox, restore the default values in Firefox, tried doing drag their doping on the toolbar, & just hard add sites, but nothing has worked. How can I fix? Thanks in advance!

    I see a button star bookmark in the bar '3' list of menu of Firefox as the last icon down button.

    This button has the ToolTip of the Bookmarks Toolbar items?

    Try clicking the default button in the window customize.

  • I stopped to receive mail after December 31.  It indicates that the computer cannot connect to my account but when I log in with my password I get the message "this account already exists." How can I get my email account to work again?

    I stopped to receive mail after December 31.  It indicates that the computer cannot connect to my account but when I log in with my password I get the message "this account already exists." How can I get my email account to work again?

    MacBook Air, OS X El Capitan

    First of all, make sure that you don't have two accounts with the same address. What happens if one of them is an iCloud account.

    From the Mail menu bar, you select

    ▹ Connection Doctor window

    In the window that opens, look for an SMTP (outgoing mail) account with a name that corresponds to the account that you are trying to add. Double-click it. Another window opens, displaying the list of all outgoing mail accounts. Click the sign button less to remove the corresponding one, and then click OK.

    Try to add the email account again. If you still can not, log off or restart the computer, and then open the preferences window accounts Internet and check if the account is displayed.

  • How can I get the string value displayed on a digital control defined for the relative time.

    I have a digital potentiometer to display relative time in increments of 30 minutes.

    I want to record the value displayed on the control string.  Unfortunately, when I use the "convert to decimal string.vi" number, the resulting string is just the value in seconds.

    How can I get the value as a string? (for example 01:30 for an hour and thirty minutes)

    Thank you

    Sean

    Hi Sean.C!

    M_Peeker's suggestion is a good thing.  A stage that could clarify things is that you must set the % t <%H:%M> format string entry.

    < br / > Kristen:.

Maybe you are looking for