Something weird with NULL operation

First I tried to create a view to simplify the experimental query:
create or replace force view subquery as
select email from employees 
where rownum<5
union
select null from dual
Note that I added a null value containing the line in the last row of the view.

Then, I tried these two:
select * from subquery where email in (select * from subquery)
She returned 4 lines except for the null row.

But with this code:
select email,(select * from subquery where email=s.email) from subquery s
The fifth line containing null is displayed. Should not be excluded also? Thank you

Published by: 801264 on November 16, 2010 22:46

the last query works fine. It ignores NULL values.

It is quite similar to an outer join (which is another possibility to demonstrate"associated NULL values" "):

SQL> with subquery
     as (select email
           from employees
          where rownum < 5
         union
         select null from dual
)
--
--
select s1.email
  from subquery s1, subquery s2
 where s1.email = s2.email(+)
/
EMAIL
-------------------------------------
ABANDA
ABULL
ACABRIO
AERRAZUR                             

5 rows selected.

Is there any exception for NULL operation?

It is not an exception: it must be understood only when and where NULL operations apply.

Tags: Database

Similar Questions

  • BlackBerry smartphones something weird with wifi

    I can connect to wifi at home, but strange things are happening, I can go as open google and facebook, but I'm not be able to chat using my blackberry messenger (bbm) and I can't open my email too. What should I do so that I can use my blackberry Messenger? Thank you very much for any answer

    jey_28 wrote:

    to use the Messenger, so I need to have full data plan?

    You have to, to get the push RIM email functions you are looking for, as well as services of BlackBerry data such as the Web browser, Facebook for BlackBerry, BlackBerry Messenger and much more.

    Then call your carrier and you learn about to have added to your account BlackBerry data Plan.

    Good luck.

  • FINSObj_Mgr component to show something weird.

    Hello
    I already install the server, the gateway and the DB, including the configuration. After the final step in applying the SWSE, I try to log into the Login Page, but I encounter error
    on my IE display
    The server you are trying to access is either busy or are experiencing difficulties. Please close the Web browser, open a new browser and try to connect again. [19: 59:40]
    I know that the Web server is running already, and the DB is too, could Tnsping, ODBCSQL and srvrmgr. When I look in the logfile FINSObj_Mgr I found this error. I already check the fins.cfg files and the eapps for something weird. But no result.
    Here is the FINSObj_Mgr file.

    Thanks in advance

    ===========================================================================================================
    MessageFlow MsgFlowDetail 4 000000134fa3101b:0     2012-05-04 20:08:08 15: SessionHandleMsg (2) call for task 12582922, pErrStack = 0x00fa4c18
    Info ObjMgrMemProfileLog 4 000000134fa3101b:0     2012-05-04 20:08:08 waiting: initialized.
    ScfEventLog SubEvtFacInfo 3 000000134fa3101b:0     2012-05-04 20:08:08 user task set event triggered task 12582922
    Retail ObjMgrLog 4 000000134fa3101b:0     2012-05-04 20:08:08 reading since the name server .cfg file.
    SecAdptLog API Trace 4 000000134fa3101b:0     2012-05-04 20:08:20 DB initialize security card.
    SecAdptLog API Trace 4 000000134fa3101b:0     2012-05-04 20:08:20 DB SecurityLogin with username = SADMIN, parameters = 3835508.
    Error ObjMgrLog 1 000000134fa3101b:0     2012-05-04 20:08:21 (oracon.cpp (3211)) SBL-DBC-00107: year Oracle database Error error occurred.

    If please continue or ask your system administrator to verify the configuration of your application if the problem persists.
    SecAdptLog API Trace 4 000000134fa3101b:0     2012-05-04 20:08:21 DB user security to connect to SBLPERFET_DSN DB with username = SADMIN returns err 7733355 and 39cf040 connection.
    SecAdptLog API Trace 4 000000134fa3101b:0     2012-05-04 20:08:21 DB user security remove DB connectoin 39cf040
    GenericError 1 000000134fa3101b:0 GenericLog     2012-05-04 20:08:21 (secmgr.cpp (2679) err = 4597538 sys = 0) SBL-SEC-10018: year Oracle database Error error occurred.

    If please continue or ask your system administrator to verify the configuration of your application if the problem persists. (SBL-DBC-00107)
    ORA-12154: TNS: could not resolve the connect identifier specified


    GenericError 1 000000134fa3101b:0 GenericLog     2012-05-04 20:08:21 (secmgr.cpp (2751) err = 4597521 sys = 0) SBL-SEC-10001: an internal error occurred in the Siebel application authentication subsystem. Please contact your system administrator for assistance.
    Error ObjMgrSessionLog 1 000000134fa3101b:0     2012-05-04 20:08:21 (physmod.cpp (9330)) SBL-DAT-00565: an internal error occurred in the Siebel application authentication subsystem. Please contact your system administrator for assistance.
    Error ObjMgrSessionLog 1 000000134fa3101b:0     2012-05-04 20:08:21 (model.cpp (5890)) SBL-DAT-00565: an internal error occurred in the Siebel application authentication subsystem. Please contact your system administrator for assistance.
    ObjMgrSessionLog ObjMgrLogin 3 000000134fa3101b:0     2012-05-04 20:08:21 connection failed for login name: SADMIN
    ObjMgrBusServiceLog create 4 000000134fa3101b:0     2012-05-04 20:08:22 business Service "Execution of Script Smart cleaning" was created at a 3, 48368
    ObjMgrBusServiceLog create 4 000000134fa3101b:0     2012-05-04 20:08:22 business Service "Execution of Script Smart cleaning" (address: '3a 48368') has been registered in the model "1055eb8" session "
    InvokeMethod 4 000000134fa3101b:0 ObjMgrBusServiceLog     2012-05-04 20:08:22 start: Business Service 'Execution of Script Smart cleanup' call the method: 'Cleaning' to 3a 48368
    InvokeMethod 4 000000134fa3101b:0 ObjMgrBusServiceLog     2012-05-04 20:08:22 business Service "Execution of Script Smart cleaning" method 'Clean' Execute call time: 0.000 seconds.
    InvokeMethod 4 000000134fa3101b:0 ObjMgrBusServiceLog     2012-05-04 20:08:22 end: Business Service 'Execution of Script Smart cleanup' call the method: 'Cleaning' to 3a 48368
    Delete ObjMgrBusServiceLog 4 000000134fa3101b:0     2012-05-04 20:08:22 business Service "Execution of Script Smart cleaning" (address: '3a 48368') has been unregsitered to the model "1055eb8" session "
    Delete ObjMgrBusServiceLog 4 000000134fa3101b:0     2012-05-04 20:08:22 business Service "Execution of Script Smart cleaning" has been deleted to 3a 48368
    Error ObjMgrCTLog 1 000000134fa3101b:0     2012-05-04 20:08:22 (ctxtmgr.cpp (4504)) SBL-SVC-00208: Please first login.
    ObjMgrSessionLog ObjMgrLogin 3 000000134fa3101b:0     2012-05-04 20:08:22 [logout] TriggerCTEvents - Timeout event has failed with error = 10879184
    Delete ObjMgrBusServiceLog 4 000000134fa3101b:0     2012-05-04 20:08:22 business Service "has been deleted at f74fdc38
    Info ObjMgrLog 3 000000134fa3101b:0     2012-05-04 20:08:22 (modpref.cpp (949)) SBL-DAT-50806: SavePreferences: / dbzp/siebel/uniperf02/siebsrvr/bin/Siebel Financial Services.spf: Save is not necessary. Preferences are not dirty.
    Delete ObjMgrBusServiceLog 4 000000134fa3101b:0     2012-05-04 20:08:22 business Service "has been deleted at f74fddb8
    MessageFlow MsgFlowDetail 4 000000134fa3101b:0     2012-05-04 20:08:22 15: back from SessionHandleMsg (2) for the task 12582922, pErrStack = 0x00fa4c18
    MessageFlow MsgFlowDetail 4 000000164fa32fb5:0     2012-05-04 20:08:22 15: worker ProcessMessage() will cover 0x00f5b800, pErrStack = 0x00fa4c18
    TaskEvents SessionClose 3 000000164fa32fb5:0     2012-05-04 20:08:22 customer closed session (taskId = 12582922)
    MessageFlow MsgFlowDetail 4 000000164fa32fb5:0     2012-05-04 20:08:22 15: SessionCloseReq (3) received for task 12582922, call SessionCleanup() (pErrStack = 0x00fa4c18)
    MessageFlow MsgFlowDetail 4 000000164fa32fb5:0     2012-05-04 20:08:22 15: SessionCloseAck (3) Envoy for task 12582922 (pErrStack = 0x00fa4c18)
    MessageFlow MsgFlowDetail 4 000000164fa32fb5:0     2012-05-04 20:08:22 15: call SessionCleanup for task 12582922, pErrStack = 0x00fa4c18
    MessageFlow MsgFlowDetail 4 000000164fa32fb5:0     2012-05-04 20:08:22 15: back from SessionCleanup for the task 12582922, pErrStack = 0x00fa4c18
    Trace SmiLayerLog 4 000000164fa32fb5:0     2012-05-04 20:08:22 15: CleanupTask (0, < NULL >, true)
    TaskCounters TaskCountInfo 4 000000164fa32fb5:0     2012-05-04 20:08:22 15: DecRunningTasks() nRunning = 0, m_mLowThresh = 0, m_nRunning = 0
    TaskCounters TaskCountInfo 4 000000164fa32fb5:0     2012-05-04 20:08:22 15: DecActiveTasks() nActive = 0


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

    Joey,

    Weird error in fact, it may be a discrepancy between the information contained in the customer oracle and siebel. Here are a few files, you can check:

    tnsnames.ora
    . ODBC.ini (folder/dbzp/siebel/uniperf02/siebsrvr/sys)
    file siebns.dat

    If you can't find something wrong, send the following:

    -Architecture and operating system version
    Siebel - version
    -Version of the oracle client
    -Version of the oracle DB server
    -odbcsql output (hide the password)
    -srvrmgr output (hide the password)
    -output of env
    -content of the. odbc.ini file
    -content of the tnsnames.ora
    -output of command srvrmgr: DSConnectstring param for subsystem named serverdatasrc the list

    Thank you

    Wilson

    Edited by: WSiebel may 4, 2012 09:52

    Edited by: WSiebel may 4, 2012 09:52

  • Why the books are grouped and preinstalled with the operating system?

    It's complaints

    My Portege has Windwosw Vista. I didn't want to buy Vista, but they were only selling with him and no other choice was possible to purchase.

    First of all, my laptop had problems to install Windows updates. I could not connect my institution's Internet System. I had to reinstall the system again.
    It's a waste of time!

    After re-installation of the button for the sound on the outside Panel does not work correctly.

    Also, when I try to stop the laptop sometimes it restarts itself - he doesn't stop!

    Secondly, I had a problem with the laptop, when an opportunity to visit a well-known site, it serves to block itself.
    Once, when he is blocked, I had to restart and its screen remained black. They took for repair. It was delivered later - repaired, but with a defect on the screen!
    What a... workers!

    When I bought this laptop he had an offer with the update of Vista with Windows 7 after their release.
    Wonderful. But just note, Toshiba has the highest price of the offer, compared to its competitors - 30 (or £) against 15 for others, which of course I'm not going to pay.

    I already paid for Vista, which is incredible, and I knew, but I had not choice not to buy!

    All right, so there is still competition in the market, several possibilities are present - install Windows cracked, switch to Linux or just buy an Apple!

    Please, take this comment seriously! And please, stop with group buying, no matter what the benefit is. It won't work for long.

    Hi mate

    Fact is that most of the laptop manufacturers sell the computer and laptop computer with a preinstalled operating system. So I wouldn't blame Toshiba or other brands for which

    You get a new computer/laptop with a new OS.
    During the past 20 years, Microsoft released 3.0 Win, Win 95, Win 98, Win NT, W2k, Win XP, Win ME, Vista and Win 7, I remember that all my computers or laptops were grouped with these operating systems

    Toshiba offers the notebook with a clean image and you can also create a recovery disk (so don t need to buy anything if you need t n)
    Of course, each of us can install a clean OS, but there are a lot of people who are happy with such image pre-installed because everything is pre-installed and configured.

    Many people have no knowledge of computer wide and are really recognizing that everything is pre-installed and the configuration does not have a lot of time

    With regard to the question of the laptop;
    What to say; you had a bad luck that something was wrong with the laptop. This can still happen that my new LCD TV other manufacturer, was dead after two weeks, I called ASP, then replaced the screen now is ok

  • I El capitan, but stopped opening safari says impossible to find something wrong with the application extension

    I El capitan, but stopped opening safari says impossible to find something wrong with the application extension

    You can open it by accessing it in the Applications folder? If so, you may have a corrupt Dock alias. Click and hold the alias and make it about 1 inch away from the docking station, then release. Then drag the application in the Applications folder in the Dock to create a new alias. When you have a new alias, control - click/Options/keep in Dock.

  • I use a Mac 10.5.8 and your software says it must be compatible with 10.5, but he says it's not compatible with my operating system. Why?

    I use a Mac 10.5.8 and your software says it must be compatible with 10.5, but he says it's not compatible with my operating system. Why?

    10.5.8 it is compatible with firefox only with Intel see 10.0:

    http://www.Mozilla.org/en-us/Firefox/10.0/system-requirements/

    for your ppc mac, the most recent is the version that you have 3.6.26 see:

    http://www.Mozilla.org/en-us/Firefox/3.6/system-requirements/

    Thank you

    Please check 'Resolved' the answer really solve the problem, to help others with a similar problem.

  • El Capitan 10.11.3 is compatible with my operating system? a MacBook Pro (15 inch, late 2011), 2.4 GHz Intel Core i7, 4 GB DDR3 memory at 1333 MHz

    El Capitan 10.11.3 is compatible with my operating system? a MacBook Pro (15 inch, late 2011), 2.4 GHz Intel Core i7, 4 GB DDR3 memory at 1333 MHz

    Yes.

    El Capitan system requirements

    https://support.Apple.com/kb/SP728?locale=en_US

    Check the compatibility of the application

    http://roaringapps.com/apps

    How to upgrade?

    http://www.Apple.com/OSX/how-to-upgrade/

    Note:

    Computer backup before the upgrade.

    El Capitan works better with 8 GB of RAM installed.

  • I have a question about the time machine. I recently updated my Quicken 2015 and there was something wrong with the update. Can I go back in just the Quicken file and restore it until I downloaded the update do I have to restore the entire

    I have a question about the time machine. I recently updated my Quicken 2015 and there was something wrong with the update. Can I come back in all the Quicken file and restore from time Machine before I downloaded the update to do, I need to restore the entire computer?

    Yes, you can just restore this file or application. Use Time Machine to back up or restore your Mac - Apple Support

  • Problem with several sub-groups through case structure Enum: 'the VI isn't in a State compatible with this operation.

    Hello

    I'm using LabVIEW 8.0 and I'm trying to create a subgroup of experts which shows the façade of a subvi according to the choice made by the user via the menu drop down Enum.  I wired the Enum to a case structure and apply a coding identical to each structure of individual cases with the exception of course change the source of sub - vi.  However, you receive an error "The VI isn't in a State compatible with this operation."  I have managed to make a single sub - vi work within a subgroup of experts using a true/false case structure and the same exact coding.  However, now that I use an Enum box connected to a structure of the case, I get this error.  I enclose my diagram as well.  Could someone help me as to where it is that I am wrong?

    Thanks in advance!

    If your VI runs already, when you try to run it? Which returns the error you get.

    Check the State of VI before trying to run or make an error handling.

  • Network is there something wrong with spades to msn I can't enter the game

    y at - it something wrong with the games of msn (Spades) that I can't get on line with.i can play other games like billiards but usually allow connect to Spades, why why why?

    Hello keithshipley,

    This is not the right forum to ask questions about the MSN PIC.
    Please follow the instructions on the following site.
    http://zone.MSN.com/en/support/article/supporthubmultiplayer.htm

    Thank you

    Marilyn

  • 'Something wrong with the credentials' sign in error

    When I try to recover my gamertag, it says "sorry, but there is something wrong with the credentials you use to connect." How can I fix it?

    Hello

    Answers has no influence on the XBox or XBox Live must
    contact with them.

    XBox - Support
    http://support.Xbox.com/en-us/pages/default.aspx

    XBox - Contact us (support)
    http://support.Xbox.com/en-us/contact-us

    XBox - Support Forums - and my XBox (top-right)
    http://forums.Xbox.com/

    Xbox technical support phone number

    • Toll-free: (800) 4MY-XBOX or (800) 469-9269

    XBox LIVE - Service status
    http://support.Xbox.com/en-us/Xbox-Live-status

    Manage the XBox Live account
    http://support.Xbox.com/en-us/billing-and-subscriptions/account-management/Xbox-Live-account-management

    XBox Live Sign-in problems
    http://support.Xbox.com/en-us/billing-and-subscriptions/Windows-Live-ID/Xbox-Live-sign-in

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

    If you have problems connecting with the Microsoft Account (formerly
    Windows Live ID) and then check in this forum. (This thread has been
    moved on this forum and a Moderator Microsoft should be along
    to help.
    )

    Answers - Hotmail, Messenger, and SkyDrive (and all things Windows
    Live webcam) - Microsoft - Forum login and logout account.
    http://answers.Microsoft.com/en-us/windowslive/Forum/LiveID-signin

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • My camera Olympus only works with Apple's Quick Time 7. Is it possible to make it work with my operating system from Windows XP?

    My camera Olympus only works with Apple's Quick Time 7.  Is it possible to make it work with my operating system from Windows XP?

    Apple QuickTime 7 works is because. MOV is the Apple
    QuickTime format.

    QuickTime. MOV files can cause problems with Windows Media Player.
    And... If you plan to try editing with Movie Maker... the files should
    be converted to the. WMV format.

    No guarantee, but the following decoder might allow Windows Media
    Reader to read your. MOV files. Only problem is... it is not freeware to retail.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    3ivx MPEG-4 5.0.4 decoder
    http://store.3ivx.com/3ivxStore/product_details.php?ID=11

    Convert the. MOV files to the. WMV format may be worth a try:

    There are many converters available on the net... some
    free... some detail.

    The following freeware converter is just one example:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Format Factory (freeware)
    http://www.videohelp.com/tools/Format_Factory
    (the 'direct link' is faster download)
    (the file you want to download is: > FFSetup295.zip<>
    (FWIW... installation..., you can uncheck
    ('all' boxes on the final screens)
    (Windows XP / Vista / 7)

    First, you will need to decompress the file or just open the
    Drag > FFSetup295.exe< out="" of="" the="">
    and drop it on your desktop. To install left click.

    Next, after the download and installation of Format
    Factory... you can open the program and
    left click on the toolbar, the "Option" button and
    "Select an output folder to" / apply / OK.
    (this is where you find your files after they)
    are converted)

    Drag and drop your video clips on the main screen...

    Select "all to WMV" / OK...

    Click on... Beginning... in the toolbar...

    That should do it...

    Good luck

  • Reinstall WIN XP SP3 to new computer with no operating system

    I would like to move my WIN XP SP3 old laptop with no operating system

    Thank you

    Go to your computer manufacturer's support web site
    and search for the Windows XP drivers for your specific computer or motherboard model number.

    If there are Windows XP drivers, then download to a folder on your hard drive and burn it to a CD/DVD.
    Then, after installing XP on your new computer install all device drivers, starting with the mother/chipset, LAN, Audio, USB, SATA card, drivers, and so on.

    Notes:

    If there is no XP driver not listed that your computer is not compatible Windows XP.

    You must uninstall the old computer XP, if you plan to use the same XP product key.

    List of computer manufacturer support sites:
    http://Windows.Microsoft.com/en-us/Windows/help/contact-support/computer-manufacturers

    If you have an Intel motherboard, you can try the Intel driver update utility: http://www.intel.com/support/detect.htm?iid=dc_iduu

    Graphics/video drivers:
    Check the download site of the manufacture of the graphics card for the newer Windows XP drivers for your card.
    ATI: http://support.amd.com/us/gpudownload/Pages/index.aspx
    NVIDIA: http://www.nvidia.com/Download/index5.aspx?lang=en-us

    J W Stuart: http://www.pagestart.com

  • When I try to connect my computer with XP operating system, I get this error message to: rund1132.exe and cannot log out.

    original title: log question.

    When I try to connect my computer with XP operating system, I get this error message to: rund1132.exe and cannot log out.  How can I fix?

    Hi KERRYYX,

    1. Did you the latest changes on the computer?
    2. When was the last time it was working fine?
    3. You have security software installed on the computer?
    4. What is the full error message that you receive?
    5. Are you able to restart and shut down the computer?

    It is possible that some third-party programs installed on the computer is causing the problem.

    I suggest that you put the computer in a clean boot state and check if it helps.

    To help resolve the error and other messages, you can start Windows XP by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    See section to learn more about how to clean boot.

    How to configure Windows XP to start in a "clean boot" State

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

    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    (a) click Start, type msconfig in the search box and press ENTER.

    (b) If you are prompted for an administrator password or for confirmation, type your password or click on continue.

    (c) under the general tab, click the Normal startup option, and then click OK.

    (d) when you are prompted to restart the computer, click on restart.

    You cannot log off, restart or shut down your Windows XP-based computer

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

  • Wiped a computer due to problems with the operating system, but do not have any media to reinstall. Help.

    No operating system

    Hello

    I bought a second hand computer and there is no backup of the operating system CD. He had problems with the operating system start so I wiped it, but now I have to re - install.

    Would it not possible to obtain another copy of the operating system for that computer?

    All the best

    Dean

    Hello

    These are forums for Vista, so vista information is provided

    Here are the different ways to reinstall Vista

    Contact the manufacturer of the laptop computer and ask them to send you to vista recovery disks to reinstall the operating system back as it was when you bought it

    they do it for a nominal cost of $

    ____________________________________________________________

    also ask them if you have a recovery partition on your hard drive to get back to the way you bought

    you would normally press F8, F9, F10 or F11 or Alt + F10 or 0 to start to start the recovery process according to the manufacturer

    Ask them of the exact key sequence

    __________________________________________________________

    or borrow a vista microsoft dvd; not a HP, Acer recovery disk etc

    Make sure that you borrow the correct 32-bit or 64-bit microsoft dvd to your computer

    they contain all versions of vista

    This is the product key that determines which version of vista is installed

    http://www.theeldergeek.com/Vista/vista_clean_installation.html

    ____________________________________________________________

    How to replace Microsoft software or hardware, order service packs and replace product manuals

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

Maybe you are looking for