Starting from two data tables, how do you get the values in two columns using values in a column (values get col. If col. A is not null values and get the pass. B if col. A is null)?

Two tables provided, how you retrieve the values in two columns using values in a column (the pass get values. If col. A is not null values and get the pass. B if col. A is null)?

Guessing

Select nvl (x.col_a, y.col_b) the_column

from table_1 x,.

table_2 y

where x.pk = y.pk

Concerning

Etbin

Tags: Database

Similar Questions

  • How do you get the normal taskbar? It is 1 inch thick

    The taskbar are 1 inch thick at the bottom of the screen. It takes only about a quarter of an inch.

    Icons & clock in the taskbar is vertical instead of horizontal. The clock also day & date

    How do you get it back to normal?

    See the second example (how to resize the taskbar Windows) here: http://www.timeatlas.com/5_minute_tips/general/how_to_resize_or_move_windows_taskbar

  • Process page not throwing no data found error when you remove the item in a table

    Hi guys,.

    I'm trying to run a process page just before the process of MRU in tabular form and it is throwing an error no data found . Here is my code:
    BEGIN
         
         for i in 1..apex_application.g_f02.count LOOP     
              
              IF apex_application.g_f01(i) is not null THEN
                   
                   UPDATE STOCK
                        SET PRODUCT_QUANTITY = PRODUCT_QUANTITY+apex_application.g_f08(i)
                   WHERE site_id = :P21_SITE_ID and product_id = apex_application.g_f02(i);
                   COMMIT;
                   
              END IF;
         END LOOP;
    END;
    F01 here is the checkbox column and the if statement is the cause of the problem because if I get rid of the update statement (leaving just the commit) then it still throws the error.

    When I click on a checkbox, and hit the Remove button what fires off times this process and then the MRU, I get the error not found data .

    Would appreciate it if someone could shed some light on this. Thank you very much.

    Published by: taepodong on July 1, 2012 07:54

    Hello

    >
    I'm trying to run a process page just before the process of MRU in tabular form and he throws no data were found error. Here is my code:

    BEGIN
    
         for i in 1..apex_application.g_f02.count LOOP     
    
              IF apex_application.g_f01(i) is not null THEN
    
                   UPDATE STOCK
                        SET PRODUCT_QUANTITY = PRODUCT_QUANTITY+apex_application.g_f08(i)
                   WHERE site_id = :P21_SITE_ID and product_id = apex_application.g_f02(i);
                   COMMIT;
    
              END IF;
         END LOOP;
    END;
    

    Here f01 is the column of the box and the if statement is causing the problem because if I get rid of the update statement (leaving just the commit) then it still throws the error.

    When I click on a checkbox and click on Remove button that triggers both this process and then MRU, I get the no found error of data.
    >

    You iterate over the f02 and seeking f01 not null. It's the misuse of the checkbox element. Please see these links. in particular the examples of process OnSubmit.
    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21676/apex_item.htm#CHDDCHAF
    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21676/apex_app.htm#AEAPI215

    Kind regards

    PS: That's what you need to understand
    >
    Note that the boxes displayed by using APEX_ITEM. CHECK box will only contain values in the APEX_APPLICATION tables for those lines that are checked. Unlike other elements (TEXT, TEXTAREA, and DATE_POPUP) that can contain an entry in the corresponding table of APEX_APPLICATION for all submitted ranks, a checkbox will be an entry in the APEX_APPLICATION table if this option is selected.
    >

    Published by: Dominique July 2, 2012 09:44

  • How can you cancel the download of an update that was started by after having pressed the button "Check for Updates" in the window "On Firefox", please?

    How can you cancel the download of an update that was started by after having pressed the button "Check for Updates" in the window "On Firefox", please? If possible, please cover all platforms, Mac, Windows, Linux, although the first mentioned is what currently applies to my situation.

    Thank you.

    Such a download is usually recorded in a updates or updates folder in the program folder or the Firefox application.
    You can delete this folder to cancel the download.

    If the files have already been downloaded, then delete the files in the folder updates\0 and updates.

    Mac: /Applications/Firefox.app/updates "/path_to/Firefox.app/Updated.app"
    Linux: "/path_to/firefox/updated"
    Windows: C:\Users\<user>\AppData\Local\Mozilla\Firefox\Mozilla Firefox\updates
    
  • How do you set the time and date on fax for hp officejet 4622

    How do you set the date and time on the fax for hp officejet head 4622

    Hi Chrisharrison23,

    Date and time should be under configuration tools or fax setting in the printer control panel.

    OfficeJet 4620:

    1. click on the key icon on the control panel of the printer

    2. go to tools

    3 scroll to the date and time

    I would like to know if you are able to locate the setting?

    Officejet 4622: Set the date and time

     
  • If you have two video layers, how did you composite the bottom of the top layer in the layer below mate in Premiere Pro?

    If you have two video layers, how did you composite the bottom of the top layer in the layer below mate in Premiere Pro?

    You have an element that contains the matte and the other clip contains the filling?

    Put the matte clip on a track directly above the clip to fill.

    Go to the effects Panel > video effects > Keying > overlay cache track and apply the overlay cache track for your video of filling on the timeline.

    Ensure that this clip is selected in the timeline panel and then go to the effect controls panel, whirlpool open orders the overlay to cover track by clicking on the triangle next the the name of the effect and Matte together: to the video track containing the Matte Clip.

    MtD

  • How do you define the current-time indicator to return to the point that he started on an audio overview?

    in the most recent version of the software, how do you define the current-time indicator to return to the point that he started on an audio overview? He did it in the old version. I don't find a setting for this in 2015 software. Thank you

    You can use the zero on the numeric keypad key. See the sixth in this article:

    known issues in after effects CC 2015 (13.5). After the effects of interest area

  • How do you get data mulib downloads?

    How do you get data mulib downloads?

    They are on my desk. What should I do to have access to them in Muse?

    PAM

    DoubleClick just mulib file and it will install.

    Subsequently, you will find the new mulib in your library panel.

  • How do you get support from the Muse to the United Kingdom?

    Hello

    Other than hope someone will help you on these forums. How ado you get problems fixed? Cat said closed all time volume to the United Kingdom? And I can not find a UK phone number to ask for help.

    Hi Louisn,

    You can contact our customer support now. It is open until December 31, 2014, closed January 1, 2015, then again on January 2, 2015.

    Kind regards

    Aish

  • How do you set the time for Skype?

    The time displayed on my Skype messages received is different from the time displayed on my laptop. How can you get these two times to show the same thing?

    In Skype open view -> profile -> view full school profile.

    Make sure that the time is attached to my computer.

  • My user folder displays the data of 30 GB. Actual data are only 2 GB. I want to wipe my drive C of hidden data. How can I get the details of 30 GB of data shown in the properties of the folder

    My user folder displays the data of 30 GB. Actual data are only 2 GB. I want to wipe my drive C of hidden data. How can I get the details of 30 GB of data shown in the properties of the folder.

    Hello

    This free program allows you to see what is taking place.

    http://www.Jam-software.com/treesize_free/

    Here's how to understand Treesize Screenshots:

    http://www.Jam-software.com/treesize_free/screenshots.shtml

    ____________________________________

    Also check how much space system restore uses:

    http://Windows.Microsoft.com/en-us/Windows7/how-much-disk-space-does-System-Restore-require

    _____________________________________

    You can clean your hard drive using these two methods.

    "Delete files using Disk Cleanup"

    http://Windows.Microsoft.com/en-us/Windows/delete-files-using-disk-cleanup#delete-files-using-disk-cleanup=Windows-7

    Using the free CCleaner program:

    http://www.Piriform.com/CCleaner

    In NO case use the registry cleaning Option in CCleaner

    _____________________________________

    Download, install, update and scan your system with the free version of Malwarebytes AntiMalware:

    http://www.Malwarebytes.org/products/malwarebytes_free

    And Norton Backup, if you are using Norton, can do strange things with filling of hard drive space.

    See you soon.

  • How do you get the numeric value of an image

    How do you get the numeric value of an image

    This in a small example

    var Red = ' \u00FF\u00D8\u00FF\u00E1\x05oExif\x00\x00MM\ '.



    Here is a link to a script open source that generates a string that represents the data of a file binary, especially useful to integrate a small image in a script or file patterns in a JSON structure, for example:

    Get the data from binary string

    HTH,

    Domestic-

  • I removed my LR CC from my pc.  How can I get that again?

    I removed my LR CC from my pc.  How can I get that again?

    If you have the CC Office application installed, LR must be listed in with a Setup button.  If you come to withdraw LR, you may need to disconnect from the CC App and reconnect you so he can check what is on your computer:

    https://helpx.Adobe.com/creative-cloud/help/sign-in-out-activate-apps.html

    You can get various applications CC from here:

    https://www.Adobe.com/creativecloud/catalog/desktop.html

    LR 6 and various updates are here:

    http://blogs.Adobe.com/lightroomjournal/2013/06/keeping-Lightroom-up-to-date.html#lrcc2015

  • How do you get the header of HTTP authentication for our hosted solution?

    How do you get the header of our hosted solution (adobeconnect_admin_httpauth) HTTP authentication? The documentation says find a custom.ini file but I have no idea how access.

    I need to provide only the plugin adobeconnect used with a Moodle instance, screnshot below.

    adobeconnect.png

    If it helps, when I click "Test connection", I see the following output.

    A series of tests were run to determine if the Adobe Connect Pro Server has been properly configured for this integration to work and also determine if the user credentials provided in the global settings activity has the appropriate permissions to perform the necessary tasks required by the activity module. If none of the tests below have failed, this activity module will not work correctly.

    To get help and documentation in how to configure your Adobe Connect Pro Server, please see the help page of MoodleDocs for this activity module help page

    Sending call common-info:

    has managed to get the session key: na11breezrirhb4f4ryf5shqy

    connected as user admin

    Test retrevial of shared content, registration, and records of the meeting:

    Error getting the shared content folder

    XML request:

    <? XML version = "1.0" encoding = "UTF-8"? > < params > < param name = 'action' > sco-shortcuts < / param > < / params >

    XML response:

    <? XML version = "1.0" encoding = "utf-8"? > < results > < status code = "lack of access" subcode = "no-login" / > < / results >

    getting error forced archives folder (meeting records)

    XML request:

    <? XML version = "1.0" encoding = "UTF-8"? > < params > < param name = 'action' > sco-shortcuts < / param > < / params >

    XML response:

    <? XML version = "1.0" encoding = "utf-8"? > < results > < status code = "lack of access" subcode = "no-login" / > < / results >

    record of meetings to get error

    XML request:

    <? XML version = "1.0" encoding = "UTF-8"? > < params > < param name = 'action' > sco-shortcuts < / param > < / params >

    XML response:

    <? XML version = "1.0" encoding = "utf-8"? > < results > < status code = "lack of access" subcode = "no-login" / > < / results >

    meeting testmeetingtest file creation error

    XML request:

    <? XML version = "1.0" = "UTF-8 encoding"? > < params > < param name = 'action' > sco-update < / param > < param name = ' type' > meeting < / param > < param name = "name" > testmeetingtest < / param > < param name = 'folder-id' / > < param name = "date-begin" > 2015-03-14T 06: + 00:00 53:39.000 < / param > < param name = 'date-end' > 2015-03-14 T 07: + 00:00 53:39.000 < / param > < / params >

    XML response:

    <? XML version = "1.0" encoding = "utf-8"? > < results > < = "invalid" status code > < invalid field = 'folder-id' type = subcode 'id' = 'format' / > < / status > < / results >

    Error creating user testusertest

    XML request:

    <? xml version = "1.0" = 'UTF-8' encoding? > < params > < param name = 'action' > principal-update < / param > < param name = "name" > testusertest < / param > < param name = "name" > testusertest < / param > < param name = "login" > [email protected] < / param > < param name = "password" > 9B396EA828A00203FB3E8E69010FE537 < / param > < param name = "extlogin" > [email protected] < / param > < param name = ' type' > user < / param > < param name = "send email" > false < / param > < param name = "a-kids" > 0 < / param > < param name = "email" > [email protected] < / param > < / params >

    XML response:

    <? XML version = "1.0" encoding = "utf-8"? > < results > < status code = "lack of access" subcode = "no-login" / > < / results >

    What do we lack?

    Thank you!

    Here's the docuementation for loging in there with a Headder HTTP Adobe Connect 9 * log from an application

    Because there may be some changes to the files on the server, you may need to work with Adobe's Support to see if they can be changed in the hosted environment. Acrobat Connect Pro help | Acrobat Connect Pro Support

  • How are you at the beginning or end of the timeline in a Premiere Elements project?

    Abobe dear Experts,

    How are you at the beginning or end of the timeline in

    a Premiere Elements project? I use Premiere Pro in a local

    video studio Pro you use parentheses.

    {to go at first, and} to go to the end

    These supports are not displayed in Premiere Elements.

    Can you please tell me how to go from the end of the beginning.

    or from the beginning to the end (or any point in between) without

    go scene by scene, or without scrolling to the desired location

    and clicking in the timeline panel to reposition the CTI.

    I bought elements so that I can do the editing work at home, and I hope

    that the absence of square brackets is not a built-in disadvantage to punish elements

    users do not pay for Premiere Pro.   Please say it isn't so!

    Thanks fo your kind help.  (I'm hoping for the best)

    petera42478182

    Thank you so much ATR for the article on the Mac keyboard. This is what the doctor ordered.

    The much poorer "fn" key and using the arrow keys left and right side of the

    of the keyboard are the keys start and end mac version.

    Press "fn" and left arrow moves the cursor to the beginning of the Fn,

    and "fn" and the right arrow moves the cursor to the end of the Fn.

    Thank you, thank you, thank you.

    PostScrip: many thanks to WHS as well.

Maybe you are looking for

  • HP Pavilion 14-n019nr: upgrade RAM to HP Pavilion 14-n019nr

    Hello I have a HP Pavilion TouchSmart 14-n019nr Notebook PC. It is equipped with 4 GB of RAM DIMM single and I would like to upgrade to 8 GB. Could someone inform me on what is the frequency of the existing RAM module I need to buy the second module

  • Need help with photos

    How can I find the appropriate folder for download on a Page I manage?  Photos current pictures but when I download it is records, I can't open, review or post.  Thanks for any help.  I searched some tutorials help with photos, records and others, an

  • How can I change the language of my ideapad Black 10

    Hello. When I was installing my ideapad Black 10 to select a region and language, I typed by mistake and he was put to the Japanese. How can I change the language from Japanese to English.

  • Can't scan on HP Officejet Pro 8500 has e-all-in-One Printer series - A910 using Cougar?

    How scan you on an HP Officejet Pro 8500 has e-all-in-One Printer series - A910 using Cougar? Whenever I try, I get the following message: Error message: Scanner reported an error - unable to open a session on the device.

  • shortcut for charmap GOLD 'control panel '.

    There should be an obvious way to shortcut for charmap, any destination control panel and anywhere you could want to go quickly and often.