extract values and fetch

Hello

I have following the result set when I have attached two tables and I want to extract values and achieve certain calculations, working with Oracle 11 g.

For each set of values in col1, I need to extract the six values of four columns (col3, col4, col5 col6).

Will you please help me on how to select and extract these values in PLSQL and I need calculate those values.

For example, for a value of setting qHf in col1, I need to select values as shown below.

a: = 97.0108212225871 (col3 value)

b: = 32.8926555552399 (col4 value)

c: = 97.0108906484698 (where col5 col7 value = 1)

d: = 32.8926305735938 (where the col6 col7 value = 1)

e: = 97.0107496352219 (where col5 col7 value = 2)

f: = 32.8927446594943 (where the col6 col7 value = 2)

-RESULTS OF THE JOIN GAME

col1--col2---COL3---COL4---col5---col6---col7

qHf--K9lN---97.0108212225871--32.8926555552399---97.0108906484698--32.8926305735938--1
qHf--K9lL---97.0108212225871--32.8926555552399---97.0107496352219--32.8927446594943--2

qHj--K9lH---97.0107942624454--32.8962736187889---97.0108641458855--32.8962520765163--1
qHj--K9lF---97.0107942624454--32.8962736187889---97.0107256545409--32.8963630155553--2

qHZ--K9nx---97.0309045000111--32.909536499905---97.0309477508092--32.9094003721652--1
qHZ--K9nz---97.0309045000111--32.909536499905---97.0309457508092--32.9096953624556--2

QL3--K9nt---97.0309085000024--32.9089935000592---97.0309512491911--32.9089671359185--1
QL3--K9nv---97.0309085000024--32.9089935000592---97.0309502491911--32.9090761294466--2

Do you want this:

SELECT col1,

col2,

COL3 has,

COL4 b,

CASE WHEN col7 = 1 THEN END col5 as c,

CASE WHEN col7 = 1 THEN END col6 as d,

CASE WHEN col7 = 2 THEN col5 FINISSENT AS E,

CASE WHEN col7 = 2 THEN col6 END AS f

T

COL1 COL2          A          B          C          D          E          F

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

qHf K9lN 97.0108212 32.8926556 97.0108906 32.8926306

qHf K9lL 97.0108212 32.8926556 97.0107496 32.8927447

qHj K9lH 97.0107943 32.8962736 97.0108641 32.8962521

qHj K9lF 97.0107943 32.8962736 97.0107257 32.8963630

..................................

................................

.................................

Tags: Database

Similar Questions

  • Extract values of Contact

    I was wondering if it would be possible to extract the values (name, surname, address, etc.) when a contact is shared through the card sharing?

    So, an example of this would be:

    • Opening of the Contacts app
    • Click on a contact
    • Click on 'Sharing of Contact' in the overflow menu
    • Menu share rises
    • Click on my application
    • Invoke as card
    • Fill in the fields of different text with values from the contact

    I know that when you share a contact, it is in .vcf format, so I was wondering if there are samples available or would be how to retrieve these values and put them into the text fields?

    According to the docs contactFromVCard requires data VCard ("convert the vCard stream.")

    As your previous debug indicates the URI contains the location of the file (as it probably should). You must open and read the file to analyze it.

    Try
    QFile file (request.uri);
    If (file. Exists())
    {
    If (file.open(QIODevice::ReadOnly |) QIODevice::Text))
    {
    QTextStream textStream (&file);)
    fileContents = textStream.readAll ();
    leader. Close();
    }
    }

    not sure if QFile requires the path whole file:/// or perhaps only a substring of it, check the Qt documentation and examples for this.

  • Problem to extract Rad_error_nocontent and CellLAC in the "BOLD" device - 9000

    Hello

    I am facing problem to extract Rad_error_nocontent and LAC through the BB Bold 9000. any program work fine with BB curve.

    Service Provider ATnT

    When I run the application in the BB Bold, he always returns to LAKE and Rad_error_nocontent = 0, is there a setting to BB "BOLD" that have to configure to pick up the Rad_error_nocontent and the LAKE?

    Paste the code for better understanding...

    CellInfo.java

    /***********************************************************************************************************************

    class CellInfo extends form {}
    private int Rad_error_nocontent;
    private int cellLAC;
    private motor eng;
    CellInfo (engine eng) {}
    This.ENG = eng;
    LabelField title = new LabelField ("CellTower", LabelField.ELLIPSIS |) LabelField.USE_ALL_WIDTH);
    setTitle (title);
    HorizontalFieldManager hfm1 = new HorizontalFieldManager (Field.FIELD_HCENTER);
    ButtonField photoButton = new ButtonField ("RAD_ERROR_NOCONTENT");
    photoButton.setChangeListener (new Showid());
    hfm1. Add (photoButton);
    Add (hfm1);
           
    }
         
    private class Showid implements FieldChangeListener
    {
    /**
    * Back to main camera screen.
    */
    ' Public Sub fieldChanged (field field, int context)
    {
    locateCellInfo();
    eng.showDialog ("Rad_error_nocontent" + Rad_error_nocontent + "cellLAC:" + cellLAC);
    }
    }
       
    public void locateCellInfo() {}
    {Switch (RadioInfo.getNetworkType ())}
    case RadioInfo.NETWORK_GPRS:
    Rad_error_nocontent = GPRSInfo.getCellInfo () .getCellId (); /*************Returning 0**************************/
    cellLAC = GPRSInfo.getCellInfo () .getLAC (); / * fetch 0 * /.
    break;
    case RadioInfo.NETWORK_CDMA:
    Rad_error_nocontent = CDMAInfo.getCellInfo () .getBID ();
    cellLAC = CDMAInfo.getCellInfo () .getNID ();
    break;
    by default:
    Rad_error_nocontent = 0;
    cellLAC = 0;
    }
    }
    }

    This code works fine with BB curve but fails with BB Bold

    Please help me to solve the problem...

    The problem may be that your case statement does not take into account NETWORK_UMTS (3g) to move you to your default.

  • How to use 'Extract values' transformation?

    Hello

    I'm new to Disqualification. I have the following requirement - source system sends me Nom_tiers + address details. I need to check in the oracle database and if there is a match then return the ID and details of entry. I use verification audit of research processes to check if the data is present in the database. If the data is present, then, I need to send the code. I use to extract the ID of transformation 'extract values '. I can't set the reference for this data. Can provide an example how to use the same.

    Thank you

    Prabha

    Just use Lookup and return.

    However, it seems that you really should use a matching process.

  • AppleScript - extraire extract values from a table, create a text file with these values

    Hello world

    Lets say I have a table that looks a bit like this

    And this table I would create 2 text files (or even more, depending on how many switchnames are there) who look a bit like these

    Is it still possible?

    I suppose to create a Service (which can be called in numbers) with Automator which includes an Applescript script - but - no idea since the script is not one of my strong suits.

    There is not need to be perfect, because tables are not necessarily the model presented above - so to tweek the script to the application will be necessary. The text files can be created/saved in the same folder as the file numbers is in.

    Y at - it script-genius out there?

    See you soon

    Florian

    Select the column of fist of the data, and then run this script by copying the Forum and paste it into the script editor.  The files will appear on the desktop

    say application "Numbers".

    say front document to tell the worksheet active

    say ( class is worn) fromfirst table whose selection range

    selectionRange defined in column 1 of the selection

    set cnt to 0

    the value destRange for range

    the value currentList to {}

    -the list of switches

    Repeat with acellule in selectionRange cells

    -say acellule to set the value on the NTC

    pass the value to the value of cell

    if and ((cnt > 0) (switch is not missing value) and (currentList is not contain switch)) then

    switch and the value in the currentList currentList

    end if

    NTC put to the cnt + 1

    end Repeat

    -Display dialog box "to the list of items is:" & currentList & "a list" & (currentList County) ".

    Repeat with aswitch in currentList

    " game textOut to '# Script generated with Applescript for switch' & aswitch &"

    # on "& (today's date) &"

    !

    conf t

    "

    set cnt to 0

    Repeat with acellule in selectionRange cells

    -say acellule to set the value on the NTC

    pass the value to the value of cell

    -Display dialog "aswitch is []" & aswitch & "] and switch is []" & switch & "]".

    if (aswitch contains the switch) then

    the value cellCol to address a column of first cell of acellule

    address of line of first cell value cellRow in of acellule

    value to the aport (value of the cell of the column (cellCol + 1) cellRow) integer

    the value vlan for the (value of the cell cellRow of column (cellCol + 2)) integer

    the value desc to the (value of the cell cellRow of column (cellCol + 3))

    " put to textOut textOut &.

    !

    "" IG 1/0 interface / "& aport &.

    switchport mode access

    switchport access vlan "" & vlan & ""

    Description LINK TO "" & desc & ""

    "

    on the other

    -Display dialog box "did not: []" & aswitch & "] and []" & switch & "]".

    end if

    NTC put to the cnt + 1

    end Repeat

    Set myFile to open for access (path to the Office as text) & aswitch & '_output.txt' the with write permission

    textOut write to myFile

    MyFile close access

    end Repeat

    end say

    end say

    end say

  • Get the Max values and average of the different cycles in the single channel

    Hello

    I'm trying to get the Max values and average of the single channel that has different cycles it contains. I tried to use commands such as Chnclasspeak3 and chnpeakfind, but they were not useful for me. What I need is the Max values and average of the different cycles numbers saved in the data channel.

    Exampld if the string contains 5 numbers of repetitive cycles, then we must find the maximum values and the average of these 5 cycles in the single channel. Attached reference data. This is the .raw file and I have the plugin for it to use in diadem 11.1.

    Kind regards

    X. Ignatius

    Hello, Ignatius,.

    Sorry, it took some time to provide a replacement based on the script for the function. Please take a look at the attached script. I changed the script to use my function if the tiara-version is less than 12. My script function is not as fast and more stable than the implementation of tiara, but for now, it does the job

    Andreas

  • DLL, interfacing with which coexist value and reference types

    Currently, I'm working with a supplied DLL.

    I have header files and everything and the DLL import wizard does a decent job of importing DLL functions but there are certain types of data that cannot simply be dealt with.

    The DLL requires the use of a data type that is a structure with data reference and value types.  I could theoretically replace the references by simple U32s, but much of the information required in the data is in the data referenced by the pointers structures.

    How can I do to implement this light how do I have to be able to transmit data to the DLL in its original form (value and reference types).

    I have something like the following:

    struct point {}

    Int device,

    * The point then

    * Previous item

    * Data Datastruct

    }

    I downloaded the Microsoft WDK, CVI and Visual Studio 2008 available.  I'm not very experienced in this end of things...   I will dispose of Structs with pure value types, but how do I get the data in reference types?

    I strongly suspect that I need a wrapper DLL, but how is the best way to go about this?

    Shane.

    Shane,

    It's always a problem when you use a DLL.

    If you do not have the sources of the DLL, you must trust the description of it.

    (Or you will have to disassemble to be sure, which is forbidden in most cases )

    If (in your case), the linked list is handled elsewhere than your Labview code, you will get in trouble. (Added, deleted, or modified items)

    I don't know your DLL. But usually the data is stored inside the DLL. For example, I have a DLL function that reads a counter from a DAQ hardware. If I reset it (on its reset settings), it sends back the nuber of counted events. This DLL must not be initalized.

    Other hardware DAQ I use must be initalized using its DLLS before you read all the values.

    It all depends on the implementation of your DLL.

    You have a detailed description of your DLL?

    Balze

  • Displaying an Enum value and the name of the element when the values are not sequential

    Hello

    I use Enum and controls indictators successfully with shared and modbus variables.

    For example:

    Name of the element Value

    Off:                0

    Start 1

    On                2

    Œuvres enum Setup, I don't need to look for a cheat sheet to convert the name of the element in its value, I see the name of the item in my order/indicator.

    My new variables, I'm currently managing look like this:

    Name of the element Value

    Code 0 x 201

    Beginning Code 0 x 202

    Code 0 x 001

    Any ideas how I can display the value and the name of the element on a façade. (for a control and indicator)

    For enumerations, it seems that the item values must go 0,1,2,3,4,5

    I found the solution:

    http://digital.NI.com/public.nsf/allkb/79BA4505AE8C755E86256FB2000140B0

    use a ring of text and deselect the sequential box

  • What programs are getting extract comments and keywords and put them in the labels and captions in Picasa?

    What free programs I would like to extract comments and key words and put them into computer-based labels and legends Picasa? Is this possible with MSVB 2008 or 2010 Express? I'm not a real programmer, but I can hack a bit (in the old sense of the 1980s the word hack). I tried searching internet but no combination of the words comment, tag, keyword, and legend get something usable. Too common words, everything matches. BTW, I use XP, cannot afford to Windows Vista SE (that's my name for 7)

    What I want to do is to add tags and comments to the photos that I am scanning. It is a long-term project to archive all the family of the peaks. Some dating back to 1900 photo of great great grandparents. The key here is long-term. I thought that the properties/summary/comments (and keywords) would be likely to be on board for many years (legacy stuff). Jac I can't find any program that uses or leans on them today! And I just saw a pic of the Win7 properties and guess what? No summary! Picassa is quite widely used but who knows. Nothing is stable for a long time. Can not even get to diskettes and CDs and cassettes now become more difficult to find. And DVDs are on the side too. How can I put the photos on the long term and accessible storage?

    My plan is to use Picassa and .jpg. I'll put a copy of Picassa on every DVD that I use (in data mode). I'll do a mode DVD video slide show as a backup. The disks are pretty cheap even for me. I will not use double layer, but too unreliable. And I intend to check them every few years for readability. I have a few CD that can be read even with 12 years older data recovery programs.

    So if anyone has any comments, suggestions or additions, let it go. I think that it is indeed an important subject, keeping old data accessible.

    Hello

    You can post the issue here for more information:

    https://groups.Google.com/a/googleproductforums.com/Forum/#! categories/picasa/picasa-for-windows

  • How I can scan the registry valuHi, how I can scan the Windows 7 registry value and how do I come to know if the registry value is same as it has been installed previously?

    Hello

    How can I scan the Windows 7 registry value and how do I come to know if the registry value is same as it has been installed previously?

    Hello
     
    The Windows registry is a vast and vital part of the computer, which continues to evolve being modified or deleted or new entries are created all the time.
     
    Case where the registry keys of change.
     
    At startup
     
    So that updates
     
    While making customization or custom settings in windows
     
    While to install the software
    Virus... etc.
     
     
    Each click Open and save is related to the registry.
     
    This is something very tedous to verify the integrity of a registry of windows with all of the above modifications being carried out.
     
    You can back up the registry of the computer after you install Windows new and update with all Windows updates and the custom software, into a registry backup or create a system image / restore point.
     
    Please visit these links for more information.

    Windows registry Description of the audit of the Windows Registry tool (Scanreg.exe) How do I add, edit or delete subkeys in registry and values by using a registration entries (.reg) file Hope this information helps

     
     
     
  • NULL values and cardinality

    Hello Experts,

    I read a slide (five things you probably don't know about SQL) on the values NULL and the cardinality of Tom Kyte. He has demonstrated this indexed column with estimate cardinality evil cause NULL values. However, I do not understand why it causes the estimation of cardinality wrond? You have an idea?

    Party suite comes from the slide. Here's the proof, but is not written why.

    OPS$ % ORA11GR2 tkyte > create table t

    2 20 PCTFREE

    3 as

    4. Select a.*,

    5 case when mod(rownum,100) < = 50

    6 then last_ddl_time

    7 end end_date

    8 object;

    Table created.


    OPS$ % ORA11GR2 tkyte > create indexes t_idx

    2 on t (end_date);

    The index is created.


    OPS$ % ORA11GR2 tkyte > select count (*)

    2 t

    3 where end_date

    4 between to_date ('01 - sep - 2010 "," dd-mon-yyyy "")

    5 and to_date ('30-Oct-2010, ' mon-dd-yyyy "");

    COUNT (*)

    ----------

    36267


    OPS$ % ORA11GR2 tkyte > start

    DBMS_STATS.gather_table_stats 2 (user, 't');

    3 end;

    4.

    PL/SQL procedure successfully completed.


    OPS$ % ORA11GR2 tkyte > select count (*),

    2. count (distinct end_date)

    count (end_date) 3,.

    min (end_date) 4,

    5 max (end_date)

    6 t;

    CNT CNTD CNT2 MIN MAX

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

    72228 703 36850 1 OCTOBER 02 SEP 30.-11


    OPS$ % ORA11GR2 tkyte > set autotrace traceonly explain

    OPS$ % ORA11GR2 tkyte > select *.

    2 t

    3 where end_date

    4 between to_date (' 01-sep-2010', 'dd-mon-yyyy')

    5 and to_date ('30-Oct-2010, 'dd-mon-yyyy');

    Execution plan

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

    Hash value of plan: 1601196873


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

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |

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

    |   0 | SELECT STATEMENT |      | 36024 |  3588K |   339 (1) | 00:00:05 |

    |*  1 |  TABLE ACCESS FULL | T    | 36024 |  3588K |   339 (1) | 00:00:05 |

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

    Information of predicates (identified by the operation identity card):

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

    1 Filter ("End_date" < = TO_DATE (' 2010-09-30 00:00:00 ',' syyyy-mm-dd '))

    HH24:MI:SS') AND 'End_date' > = TO_DATE (' 2010-09-01 00:00:00 ', ')

    'syyyy-mm-dd hh24:mi:ss"))


    OPS$ % ORA11GR2 tkyte > update t

    End_date set 2 =.

    3 to_date ('01 - jan - 9999',' mon-dd-yyyy "")

    4 where End_date is null;

    35378 lines to date.

    OPS$ % ORA11GR2 tkyte > commit;

    Validation complete.


    OPS$ % ORA11GR2 tkyte > start

    DBMS_STATS.gather_table_stats 2 (user, 't');

    3 end;

    4.

    PL/SQL procedure successfully completed.


    OPS$ % ORA11GR2 tkyte > select *.

    2 t

    3 where end_date

    4 between to_date ('01 - sep - 2010 "," dd-mon-yyyy "")

    5 and to_date ('30-Oct-2010, ' mon-dd-yyyy "");

    Execution plan

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

    Hash value of plan: 470836197


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

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU).

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

    |   0 | SELECT STATEMENT |       |   175. 18375 |    10 (0) |

    |   1.  TABLE ACCESS BY INDEX ROWID | T     |   175. 18375 |    10 (0) |

    |*  2 |   INDEX RANGE SCAN | T_IDX |   175 |       |     2 (0) |

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

    Information of predicates (identified by the operation identity card):

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

    1 Filter ("End_date" < = TO_DATE (' 2010-09-30 00:00:00 ',' syyyy-mm-dd '))

    HH24:MI:SS') AND 'End_date' > = TO_DATE (' 2010-09-01 00:00:00 ', ')

    'syyyy-mm-dd hh24:mi:ss"))



    Thanks in advance.

    Charlie

    Jonathan has hit it on the head.

    the index has nothing really to do with anything.

    See ask Tom: on queries to external tables, the consistency of data and nothing


    " NULL values and cardinality.


  • To get the old value and the new value

    create table test (ID NUMBER,
    Number of REV,
    Number FIELD_ID,
    FieldName varchar2 (200),
    ACTION varchar2 (50).
    Field_value varchar2 (200),
    MODIFIED_BY varchar2 (50).
    Date MODIFIED_DATE);

    Insert into TEST (ID, REV, FIELD_ID, FIELD_NAME, ACTION, FIELD_VALUE, MODIFIED_BY, MODIFIED_DATE) values (1007,283,12,'status','UPDATE','Started','2002',to_date('13-DEC-13','DD-MON-RR'));
    Insert into TEST (ID, REV, FIELD_ID, FIELD_NAME, ACTION, FIELD_VALUE, MODIFIED_BY, MODIFIED_DATE) values (1007,224,12,'status','UPDATE','preview','2002',to_date('12-DEC-13','DD-MON-RR'));
    Insert into TEST (ID, REV, FIELD_ID, FIELD_NAME, ACTION, FIELD_VALUE, MODIFIED_BY, MODIFIED_DATE) values (1007,290,12,'status','UPDATE','revision','2002',to_date('14-DEC-13','DD-MON-RR'));


    Insert into TEST (ID, REV, FIELD_ID, FIELD_NAME, ACTION, FIELD_VALUE, MODIFIED_BY, MODIFIED_DATE) values (1008,283,12,'status','UPDATE','Started','2002',to_date('13-DEC-13','DD-MON-RR'));
    Insert into TEST (ID, REV, FIELD_ID, FIELD_NAME, ACTION, FIELD_VALUE, MODIFIED_BY, MODIFIED_DATE) values (1008,224,12,'status','UPDATE','preview','2002',to_date('12-DEC-13','DD-MON-RR'));
    Insert into TEST (ID, REV, FIELD_ID, FIELD_NAME, ACTION, FIELD_VALUE, MODIFIED_BY, MODIFIED_DATE) values (1008,290,12,'status','UPDATE','teststat','2002',to_date('14-DEC-13','DD-MON-RR'));

    1007 283 12 status of started the UPDATE 2002 13 December 13
    1007 224 12 status update overview 2002 12 December 13
    12 290 1007 State review UPDATED 2002 December 14, 13
    1008 283 12 status of started the UPDATE 2002 13 December 13
    1008 224 12 status update overview 2002 12 December 13
    1008 290 12 intensified status 2002 Update December 14, 13

    I need to Get for each id for each field Ineed to get the old value and new_value.


    Planned result for the simulacrum of the data is:

    ID FIELD_NAME ACTION OLD_FIELD_VALUE NEW_FIELD_VALUE MODIFIED_BY MODIFIED_DATE
    1007 status UPDATE started review 2002 December 14, 13
    1008 State updated started intensified 2002 December 14, 13


    Thank you
    Ann

    Hello

    9728f65c-CE79-4c28-9efb-9e76dc6eaf8b wrote:

    Yes I need a production line for all id.the the last rows should be the one with the highest rev.

    Then use id where I guessed a group of columns starting with id and rev in most of the places where I used modifed_date:

    WITH got_analytics AS

    (

    SELECT id, field_name, action

    LAG (field_value) over (PARTITION BY ID.

    ORDER BY rev

    ) AS old_field_value

    field_value AS new_field_value

    modified_by

    modified_date

    rev

    MAX (rev) over (PARTITION BY id)

    AS max_rev

    OF the test

    )

    SELECT id, field_name, old_field_value, new_field_value, modified_by, modified_date

    OF got_analytics

    WHERE rev = max_rev

    ORDER BY id

    ;

  • You enter a value and tab out of af:inputListOfValues displays an incorrect value

    Hello. I have a problem with the autosubmit and tab off af:inputListOfValues in my code.

    Problem: When I type in a valid value and tab out of the field, it ignores the value, I entered and displays everything the first list in the result of the query instead regardless of the value that I typed.

    My code snippet. What it does is simply a search for employee LoV unattached to an attribute of the entity, and depending on selection, it displays the name of the employee within the page. (it also retrieves a table view what employee number came into office)

    < af:inputListOfValues id = "empNoId".

    popupTitle = "search and select: #{bindings." EmpNo.hints.label}.

    value = "#{bindings." EmpNo.inputValue}.

    label = "#{bindings." EmpNo.hints.label}.

    model = ' #{bindings. " EmpNo.listOfValuesModel}.

    required = "#{bindings." EmpNo.hints.mandatory}.

    columns = "#{bindings." EmpNo.hints.displayWidth}.

    shortDesc = "#{bindings." EmpNo.hints.tooltip}.

    Binding = "#{workLocationBean.txtEmpNo} '"

    partialTriggers = "id1".

    valueChangeListener = "{bean.onEmpNoChange}" "

    autoSubmit = "true" >

    < f: validator binding = "#{bindings." EmpNo.validator} "/ >"

    < / af:inputListOfValues >

    Other things to note:

    When I enter a valid employee number and click anywhere on the page (not TAB), it behaves properly.

    I tried to figure this out for days. Even my valueChangeListener Gets an incorrect value (when I do System.out) when I tab out, so I do not know where to catch them and replace it with the correct value.

    Thank you.

    This happens usually when the primary key is not defined in the view object used by LOV.

    Dario

  • 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

  • Change of values and change when you save a picture BW

    Hello community and first of all Merry Christmas to whom it may apply

    I am trying to solve this problem by doing my own research, but I work against the clock and I found no specific useful information so far.

    I'm sure he can have to do with the profile settings, but frankly, I'm a little lost.

    Here it goes:

    • I have these black and white photos I shot, which I first edited in Lightroom, (RAW images. CR2) and then decide to take them to Photoshop for some finishing touches so I use "Edit in...» Function of Photoshop"in Lightroom.

    • At the opening in Ps, I get the usual profile of the conversion options (my Lr settings are ProPhotoRGB) so I decide to convert the photo of my Ps work space: Adobe RGB (1998).

    • So far so good, on the surface, like comparing my pic between Lr and PS, virtually identical.

    • I have to put it back end in Mode files: grayscale /. Hair, so when trying to save with (and frankly, any other) extension, the problems start: final result varies quite considerably in values and working space Ps rendering tones (and of course, the 'original' Lr edited pic)

    I tried a lot of combinations (and the box of grain dot checked and unchecked in the file save dialog box) color profiles and settings, but I'm going crazy here...

    Any suspicion or any brief reference where I can learn at this address will be more than welcome. Time is NOT on my side (talk about season Hollidays ha!)

    Many thanks and best wishes to all!

    A simplified workflow:

    Adjust the RAW image and save as TIFF 16bitperchannel (PCBs) in AdobeRGB.

    Modify as necessary in Photoshop.

    Convert to TIFF 8bpc and save as a TIFF.

    Convert grayscale with GrayGamma = 2.2 and save as a TIFF.

    Most likely the error is the result of the settings of tones "confused."

    In fact the tones is based on a (TRC) tone reproduction curve.

    GrayGamma = 2.2 uses the same TRC as AdobeRGB.

    Therefore work in Photoshop, with always embedded in profiles,

    all the parameters are properly taken into account. But other programs are subject to errors

    even if gray profiles are incorporated.

    In short: the workflow suggested reduced the risk of confusion.

    Cordially - Gernot Hoffmann

Maybe you are looking for