The uniqueness of the values of data display?

Hi all

How I can I show date uniqness
like the follwoig name of the test and includes three columns a, b and c:

a, b and c
1 aa aaa
1 aa aab
2 ccc cc
3 ddd dd
4 ee eee

How can I show that put?

a, b and c
1 aa aaa
2 ccc cc
3 ddd dd
4 ee eee

I try to separate that has the same values as follows

select distinct (a), b, c of the test;


but the results showed the same


a, b and c
1 aa aaa
1 aa aab
2 ccc cc
3 ddd dd
4 ee eee

Published by: Isabelle on August 3, 2012 01:38

Without a score, you could do something like that. But the previous solution is better :-)

SQL:

Select d1.a, d2.b, d3.c of
(select separate one test) d1,.
(select a, min (b) by a test group b) d2.
(select c a, min (c) to the test by one group) d3
where d1.a = d2.a
and d1.a = d3.a
order of d1.a;

output:
A, B AND C
1 aa aaa
2 ccc cc
3 ddd dd
4 ee eee

The first resultset class d1 is having all the distinct values of column A.
The second resultset d2 is to take the first element related founded B min (first in the ranking)
The last resultset d3 takes the first element related C based on minutes (first in the ranking)

Tags: Database

Similar Questions

  • May not increase the value of data chart history but may decrease

    Hello

    In my application, I use 3 cards. I have 250 Hz sampling frequency on my system and I want to display a different number of seconds on my paintings.

    By default, the chart history data have 1024 points, which is second ~4.1.

    Now the problem is, if I put this value Let's say 100, it works well, is less points on the graph.

    But, If I try to back to 1024 or any value that is greater than the previous, it won't affect my chart.

    Graph will always display the lowest number of points of each value written in 'length of the graphic history ".

    Is in fact the value in the length graphic window, but it does not really affect.

    In addition, the problem is that it worked fine yesterday, but today it stopped working.

    I also have a VISA for VCP USB port, if this has something to do here, but I'm sure that's not.

    Thanks for the help and answers.

    Make sure your x-axis are the autoscale value.

  • It is possible to compare the contact fields based on the value of data updated?

    Hi all -

    I would like to run a filter and compare my contact fields if the value in a field has been updated or changed.

    for example if the data in the "first name" value changes to be empty to have a value, which would respect the requirement.  Also if "phone number" 123-456-7890 to 999-000-0000 that would also meet the requirement.

    Did anyone done this before?  Any ideas of how to implement?

    Any contribution is appreciated.  Thank you!

    If that's what you're talking about, there is no trace of audit in Eloqua.

    It will be great if Oracle can verify the critical fields.

    The solution is to create to the top of the field in another area, so when it changes, you can compare the values.

    Good luck

  • Apex 5 schedule: different color based on the value of data field

    Dear Experts,

    I need to have a different color for each record on the calendar based on the value of the data field (eg. category).

    How can I achieve this?

    Thank you!

    See: -.

    You don't have to wait for APEX 5 integration FullCalendar ~ Blog of Doug Gault...

  • MinList function does not work in the values of Date or datetime in DRM

    Hello

    We have a custom property End Date with the data type date. We want to calculate the minimum term overall of all the children of a particular node.

    When you use the below function it gives an empty value as output.

    MinList (ReplaceStr (ListNodePropValues (ListChildren (SortOrder), [comma], Custom.NO_ALL_ALL_ENDDATE), [comma], #, true), #, date)

    If remove us the part MinList and only assess ReplaceStr (ListNodePropValues (ListChildren (SortOrder), [comma], Custom.NO_ALL_ALL_ENDDATE), [comma], #, true), we get an output like the 31/12/2019 # 31/12/2018.

    Why DRM is not able to extract the min value? DRM support such use of this function?

    We even tried with a date time property, but the result is the same.

    If using the method mentioned above, it is not possible to get the date value min, what alternative approach can be taken to achieve this?

    Any help on this is much appreciated.

    Thank you

    Nathalie

    I found this useful, check if this can help,

    Using MinList to MaxList with Date or DateTime DRM (Doc ID 1967005.1) values

    Managing the relationship of data Hyperion - Version 11.1.2.3.000 and later

    Information in this document applies to any platform.

    GOAL

    Example: How can we calculate the minimum term overall of all the children of a particular node?

    You have a custom End Date property with the data type date. You tried to use MinList with ListNodePropValues as well:

    MinList (ReplaceStr (ListNodePropValues (ListChildren (SortOrder), [comma], Custom.EndDate), [comma], #, true), #, date)

    This gives an empty value as output.

    SOLUTION

    The most reliable way to do this using formulas is to format the property date as a string in ISO 8601 format. Yyyy-mm-dd format, alphabetical order is also date order. Add a using the property of type string like this:

    FormattedDate (Custom.EndDate), yyyy-mm - ddThh:mm:ss)-omit the time of the 't' it if you wish. Note that the format string is case-sensitive.

    Then the function MinList
    MinList (ReplaceStr (ListNodePropValues (ListChildren (SortOrder), [comma], Custom.Helper), [comma], #, true), #, string)
    will work.

    Note that MinList and MaxList functions return an empty value if the list contains members that are not specified data type. With the help of ReplaceStr converts implicitly dates to strings, causing MinList and MaxList to fail if you specify DateTime.

  • The MTS file date display information on screen time in CC PP

    I need to display the timestamp from date of the MTS files so I can see them in PP CC15. Is it possible to get rid of it within the program? Now, I have to do it in another program and then import the file. Takes too much time this way.

    Premiere Pro does not have this feature.  The closest you can get is display the timecode for clips that have it.  If these clips were recorded using Free Run, that would give you a time, but there is no way to see the date displayed in an overlay.

  • The values are not displayed in the user interface

    Hello.

    I use jdev 11.1.1.5

    I need to refersh tha table

    I had created a TPTrialBal EO with corresponding VO. I had dragged and dropped it as an adf:table

    I had also created an adf:button named build., when I click on this button, some values are inserted into the TPTrialBal I need to show the value inserted in the user interface.,.
    How can I do this.,.

    could someone help me pls

    After update of data in the table add patialTrigger to the table component.
    You can do it by doing this. In the behavior section property table contains call partial property triggers here you
    adjustable from which component partial triggers this component, you can select your command button.

  • How to insert the value of table display

    Hi all

    I have a page element named that email and set this as view only, now I need to insert this value in the table I use insert statement like this: P255_EMAIL, but it gives an error.


    Can someone tell me how to insert this

    Thanks and greetings
    srikkanth. M

    Srikkanth,
    A single display element is not rendered at the point of entry to the difference of the other editable on the page elements, if you look at the html code of any view one item and compare it with a textfield should be clear.

    You can have another element hidden with the value that can be returned in the process
    OR

    Here's a little something that does not need any additional items to make the item view alone and still available in the world as a normal part

    Do not say P100_MY_ITEM like a textfield
    But in the text of element Pre_ give you

    <span class="display_only" >&P100_MY_ITEM.</span><span style="display:none">
    

    And in the text of item Post_ put

    </span>
    

    Hide the textfield object, it shows the value of the item as a single text to display.

  • How to compare, present value: block.text_item with the value of data

    Hello
    Could you please tell me
    How to compare the current value: block.text_item with the corresponding database column value.
    I use form 10g

    It has block and there is a text element in this block.
    When I run the form and query the block (in a table), the: block.text_item show me any value it in the database.
    Now I add value in the: block.text_item to the existing value.

    now
    the: block.text_item contains the old + new added value
    While
    the database table contains the value 'old '.

    Now, with a click of button, I want to know what value I added

    Please can you me, is it possible without writing a select query?

    Hello

    Now, with a click of button, I want to know what value I added

    So you're saying always user will bring added value to the existing value. Because it will fail in a case. Let's say that
    Database value is = ABCD
    The user opens the form and he took the D and write E and now value is ABCE and length is always the same 4. There is therefore no need to add.

    In any case, you can know that the value of database at run time, there is a property for the element called DATABASE_VALUE. She gives the value that is in the database while you run the form before save. and you can use it like that...

    Trigger = WHEN-MOUSE-DOUBLE-CLICK on item level
    DECLARE
      vItemValue DATATYPE; -- Set the data type according to your desired field.
      vValueAdded DATATYPE; -- Set the data type according to your desired field.
    BEGIN
      vItemValue:=GET_ITEM_PROPERTY('ITEM_NAME',DATABASE_VALUE);  -- It will return you the database value in vItemValue variable.
      IF LENGTH(vItemValue)>LENGTH(:FORM_ITEM_NAME) THEN  -- It mean something change or added
        vValueAdded:=SUBSTR(:FORM_ITEM_NAME,LENGTH(vItemValue)+1);
        MESSAGE('Added value is : '||vValueAdded);  -- It will show you the added value.
      END IF;
      -- now suppose you want to show the old and new value in message not the added one
      -- Then no need of IF condition. You can just use message like this
      -- And i would prefer to use like this way
      MESSAGE('Old Value : '||vItemValue||'  New Value - '||:FORM_ITEM_NAME);
      MESSAGE('Old Value : '||vItemValue||'  New Value - '||:FORM_ITEM_NAME);
    END;
    

    Hope that's clear.

    -Clément

  • Loading the values of data in the Label component

    I display a set of values from a sql database via php method call.

    $sql = "SELECT username as employees FROM label;";

    I can use the dataProvider method in datagrid to display the values of user names, but what property can I assign him if I have to post in a label component?

    . Text does not - it displays '[object Object] ".

    Oops... I read the label as a list...

    I don't think you can display multiple values in a label... it's only one element and you try to pass a table...

    You try to start a list of user names or user name?

  • Help try to calculate and interpret the value of data in the table

    Trying to create a form field that would calculate / interpret a value to use for NGN based on certain values WT and Temp.

    E.g.  At 20 degrees and a weight of 20, my Rng will be 600.  A weight of 15, my Rng will be 537.

    How can I use a picture to help me to calculate what would be my Rng value if my WT value falls anywhere between two of the values listed WT?

    Thanks in advance for any help.

    Screen Shot 2016-09-19 at 2.40.02 PM.png

    Yes, if you use a multidimensional array.

  • The values of date time values are not complete

    Hello

    I'm experimenting with time values. During my interview, I have values such as:

    Huisnummer: {Onzeker, 12 van 01/01/01, Onbekend van 01/01/02, Onzeker van 01/01/18}

    The language I use is the Dutch, but the year is represented by two digits. I need to have four digits. There is a configuration setting that can be used for this? If Yes, where can I find it?

    Thank you!

    Han




    The display format of the date in the determinations of the Web values can be set in the configuration application.properties file. See this article in the OPA Developer's Guide: http://docs.oracle.com/html/E48376_01/toc.htm#Technical%20Reference/Config_Files.htm#application.properties

  • Pull on the values of data in table 1 d

    Hi, I have had trouble finding information on the Discussion forums on this topic.

    I have a table 1 d (1 x 1024 values) and would pull some values there. For example, I could like shoot 435 by 567 values, then do some math operations on those values. There will be two digital controls on the front panel to set these two numbers. How would I go to do this?

    Thank you!

    In addition, in LabVIEW array indexes start at zero, so 2 to 5 in your example is index 1 to 4. The code below will do.

    If you need to treat multiple sets of data (which is what I interpret as a reason to put the result in a table), place the above code in a loop.

    Lynn

  • Is it possible to change the way a date displayed in News?

    In the News module, I use {tag_eventfromdate} to display the date. Is there a way to change the way that it shows this date? It displays like this "may 12, 2013. I would prefer that it display as 'may 12, 2012' or '05.12.2013 '.

    Hi dmwdesignit,

    I find this article useful for customization you want to reach.  : http://forums.adobe.com/docs/DOC-1869 .

    Concerning

    Anshul Sharma

  • Can I perform calculations on the values of date?

    I'm trying to set a range of dates using two calendar features by entering a date "from" and a "to".

    This is done using a JavaScript that is bound to a textbox control for entering a date.  He is my date "from", if I can check this date against today to confirm that the date is later than today, that is in the future.  I have no experience with javascript, but know PASCAL.

    I then a second box with another calendar date, I want to automatically fill this box on the same date as the first area unless physically, the user wants to change the date of the last.

    Can anyone help?  I'd appreciate some tips so that I can try and learn a few Java along the way.

    GetField ("Text1") .value = s;

    There are two problems with that. The method is getField, not getfield. You must also pass the name of the field as a string. So it should be:

    s = getField("text1").value;

Maybe you are looking for

  • Black screen on AT300

    Hello In the beginning of October, I was on the trip to the United States and here, I bought a Toshiba excited AT300 tablet. In less than a month it has stopped working.The Tablet suddenly stopped working through the night, as the battery runs out an

  • Why can I not use windows touchpack on IQ772.UK?

    I am running Windows7 RC on my touchsmart Iq772.uk and recently installed windows touchpack but when I try to run it it tells me that I have not the hardware on my computer, I downloaded the nextwindow driver even though it says its only compatible w

  • printer 5530: scan does not connect to the server

    Can not scan documents. On my printer screen appears "there was a problem connecting to the serverI. The cords are properly pluged. Router is working as wel as internet connection. Please help me solve the problem

  • m9426f is by inheritance or UEFI bios

    I am trying to determine if the bios is a legacy or a UEFI to a desk top HP Pavilion m9426f.  Anyone now how to know? I want to improve to win 10 using a USB to download an ISO file.

  • Operations of reflection for screws?

    Hi all I am trying to find a way to conduct an operation like reflection on a VI: to get his name and the types of controls and indicators. Strings.export VI almost gives me what I need, but the XML seems to be a little poorly trained (Firefox and In