Max lower value to Y

Hi all!

Can someone help me to find the maximum value less than another value in a table?

example:

20 35

30 48

45 70

If I need the max value of less than 50, the largest value would be 48. the value of 70 would be ignored or put out of the picture...

Any help?

Thanks in advance and happy holidays


Tags: NI Software

Similar Questions

  • Group values by Max + equal values

    Hi Experts,

    I'm looking for a query where I can group data accordingly and exclude the lines that didn't need.please helps to achieve this.
    I have data like this in my picture

    Number of type Cust_id
    ABC 10 19
    10 19 abcde
    10 8 abcde
    20 e 8
    20 4 u
    f 30 30

    I need to put like this
    Number of type Cust_id
    ABC 10 19
    10 19 abcde
    20 e 8
    f 30 30

    Thank you
    Bharat

    Look at my first post:
    Re: Group values by Max + equal values

  • Cannot find the MAX Date value in the USER_TAB_PARTITIONS HIGH_VALUE

    Hi all

    I'll try to find the Max value of the date of the HIGH_VALUE from the USER_TAB_PARTITIONS, but my request has failed because the HIGH_VALUE is a LONG column.

    Appreciate your valuable contributions here.

    Thank you
    MK.

    Maldini says:
    I'll try to find the Max value of the date of the HIGH_VALUE

    You use the PL/SQL:

    SQL> select  high_value
      2    from  user_tab_partitions
      3    where table_name = 'RANGE_SALES'
      4  /
    
    HIGH_VALUE
    ----------------------------------------------------------------------------------------------
    TO_DATE(' 1998-04-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')
    TO_DATE(' 1998-07-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')
    TO_DATE(' 1998-10-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')
    TO_DATE(' 1999-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')
    TO_DATE(' 1999-04-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')
    TO_DATE(' 1999-07-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')
    TO_DATE(' 1999-10-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')
    TO_DATE(' 2000-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')
    TO_DATE(' 2000-04-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')
    TO_DATE(' 2000-07-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')
    TO_DATE(' 2000-10-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')
    
    HIGH_VALUE
    ----------------------------------------------------------------------------------------------
    MAXVALUE
    
    12 rows selected.
    

    Now:

    create or replace
      type DateList
        as
          table of date
    /
    declare
        v_DateList DateList := DateList();
        v_max_high_value date;
    begin
        for v_rec in (select high_value from user_tab_partitions where table_name = 'RANGE_SALES') loop
          if v_rec.high_value != 'MAXVALUE'
            then
              v_DateList.extend;
              execute immediate 'begin :1 := ' || v_rec.high_value || '; end;'
                using out v_DateList(v_DateList.count);
          end if;
        end loop;
        select  max(column_value)
          into  v_max_high_value
          from  table(v_DateList);
        dbms_output.put_line('Table RANGE_SALES max high value is ' || to_char(v_max_high_value,'MM/DD/YYYY HH24:MI:SS'));
    end;
    /
    Table RANGE_SALES max high value is 10/01/2000 00:00:00
    
    PL/SQL procedure successfully completed.
    
    SQL> 
    

    SY.

  • How to set applications exceptional disc of Max new lower value?

    We use an EMC VNX as our SAN, and we see high ABQL (average busy queue length) on the SAN. EMC support told me they see QFULL conditions, which means that the SAN can catch up with the number of applications. They recommend so reduce the depth of Queue LUN on my 5.5 ESX servers to reduce the load.

    OK, I can understand that. We use Emulex HBA adapters, the default value is 32, so I'll put it up to 24 (at the beginning). But if you change the depth of the queue of the logic unit number, you must also replace Max drive exceptional requests, from what I've read. So I'll put that down is max 32 to 24.

    Problem is, I have 26 warehouses of data that I need to change this setting, for 6 guests in a cluster. Change the depth of the queue of the logic unit number is pretty easy, I can do it manually (I put the host in maintenance mode and restart IT for this setting to take effect, anyway). But no way I want to publish manual 26

    esxcli storage core device set -d naa.xxx -O Value


    orders.

    So, how can I recover all 'Ani' identifiers for all stores data for each host; Issue the command above, and then repeat for each host in the cluster (6)? I know how to get lists of servers in a cluster, and I think it will make me all the identifiers of data store:


    Get-Datastore.

    Where-Object {$_.ExtensionData.Info.GetType ().} Name - eq "VmfsDatastoreInfo"} |

    {ForEach-Object

    If ($_)

    {

    $Datastore = $_

    $Datastore.ExtensionData.Info.Vmfs.Extent |

    Select-Object - property DiskName

    }

    }

    (I stole openly meanings of Robert van den Nieuwendijk, BTW)

    But I'm not clear how to translate "esxcli" above, command line command in Powershell.

    Anyone?

    Try something like that.

    Note that it requires PowerCLI 6.3R1 because it uses the switch on the cmdlet Get-EsxCli V2.

    You can do it in a similar way the HBA queue depth

    $clusterName = "mycluster.

    foreach ($esx in (Get-Cluster-name $clusterName |)) Get - VMHost)) {}

    $esxcli = get-EsxCli - VMHost $esx - V2

    $esxcli.storage.vmfs.extent.list.invoke () | %{

    $obj = $esxcli.storage.core.device.set.CreateArgs)

    $obj.device = $_. DeviceName

    $obj.schednumreqoutstanding = 32

    $esxcli.storage.core.device.set.Invoke ($obj)

    $obj = $esxcli.storage.core.device.list.CreateArgs)

    $obj.device = $_. DeviceName

    $esxcli.storage.core.device.list.Invoke ($obj) | Select the device, NoofoutstandingIOswithcompetingworlds

    }

    }

  • How to show min/max-previous values in slider

    Hello

    Currently, I have a loop that measures a DMM and the result is displayed on the Panel.

    Now I changed it to display the value in a cursor.

    The problem is: How can I do that displays the cursor more that just involve him.

    I want to display also the 1. the smallest and 2. more great value and 3. a limit value that represent good value.

    I checked the properties of the slider, but can't find anything like it's - or cursor is the bad thing?

    Thanks for help

    See attachment.

    I added additional sliders to the indicator (right-click, add cursor), then just kept track of values max and min using shift registers.

    To change how the 'fill' (blue shading between the sliders) cursor, right-click on each slider and select Fill options.

    Is that what you wanted?

    Ian

  • Is highest Null or more low value? using the fewest number of function...

    So Null is one of the if not the highest value in a list of values.

    Whenever I order a column, null has always been highest.

    However, when I use the function less

    Select * from bills by terms_of_discount desc;

    Select LESS ('2 ', '5', '12', ' 3', null) double;

    Select the LEAST ('apples', 'apps', 'applas', null) double;

    In both cases the null value is the lowest

    so I wonder why this is.

    As mentioned in oradocs:

    DESCRIPTION

    The Oracle/PLSQL LESS function returns the smallest value in a list of expressions.

    It's the greatest or least. As soon as you try to use the NULL value in a comparison, the answer is unknown.

    So, if you have NOTHING in there, the answer will be NULL.

    It goes the same for GREATEST().

    Global functions (SUM, MIN, MAX, etc) ignore NULL values.

    In ORDER BY, you can specify NULL FIRST or NULLS LAST.

  • How to set the default font to a lower value size?

    I recently received the update of the Firefox 22.0 20130514181517 build (at the same time as an update to Windows 7, I might add) and since then, on every Web site default font sizes have been expanded. I have a 17 "monitor, but due to fonts grossly overscaled, it looks more like an old 14", and it is quite irritating. To view websites in about the old way, they serve to study, I have to zoom out twice, but it also means that I have to do this on all websites. I also used to zoom accidentally inside or outside while using the touchpad on my laptop, so whenever I have ctrl-0 to restore the police, it goes back to the large font size, and I need her rezoom again.

    I am mostly trying to figure out if there is a way to reset the font size without the help of Add-ons.

    Thank you

    Amendments of the code regarding the HiDPI support high-resolution displays have landed at Firefox 22 and later (bug #844604).

    You can change the layout.css.devPixelsPerPx and increase or decrease the value of 0.1 or 0.05 as follows to adjust the size of fonts and other elements in Firefox.

    • The layout.css.devPixelsPerPx pref is a string parsed in float value and allows you to adjust the dimensions of all elements (user interface and web pages) specifically (resolution 0.1 or 0.05).
    • Change the default value of-1 to 1 to make it work as in previous versions of Firefox (100%)

    Start with a value of 1 and adjust this value with 0.1 or 0.05 for finer settings.

    • Use values between 1.0 and around 0.5 to reduce the size of the items (do NOT go all the way to 0.05!)
    • Use a value greater than 1.0 to grow and enlarge the elements (percentage divided by DPI, % / DPI).
    • http://KB.mozillazine.org/about:config

    If the web pages must be adjusted after changing this pref so you can watch the extension Default FullZoom Level or NoSquint.

    This extension allows to adjust the font size for the user interface:

  • Low value RAM on my Libretto U100

    Hello. I have a Libretto U100. He is supposed to have 512 MB of RAM. But when I check it through "My Computer" it says that there are 496 MB. Can someone explain why this is? Thank you.

    Hello

    It's because of the shared memory graphics card.
    This laptop comes with Intel 855GME 16 to 64 MB shared memory graphics card.
    If the graphics card needs of more memory it takes to main memory.
    The default value is 16 MB.
    512 MB - 16 MB = 496 MB ;)

  • To find the nth higher/lower value in a table

    Hi all

    I have a question

    in the table a1(empid,sal) are the 2 columns

    EmpID sal

    100-5000

    105 7500

    110 3500

    087 11136

    14336 95

    I didn't want to write the query that will give me the 3rd highest salary. or generalized to find the nth more eleve/nieme the lowest value of the table.

    Note:-Rownum and Rowid must not be used

    Thank you

    Hello

    You can use a generic result of queries to find nth highest salary...

    Just put the value of N in the query, you will get the answer...

    Query:

    SELECT E1. Salary OF EMP E1 WHERE (N) = (SELECT COUNT (DISTINCT E2. Salary) OF EMP E2 WHERE E2. Salary > = E1. Salary);

    hope you got the answer...

    Check if it really helps...

    thanxx...

  • Re: How to get Max (all values of columns) records on a partition interval

    Hello
    Hours      Days            Name     used_size
    1     01-09-012     R1     1100
    10     01-09-012     R1     1150
    15     01-09-012     R1     1160
    23     01-09-012     R1     1200
    
    1     01-08-012     R1     1600
    10     01-08-012     R1     1700
    15     01-08-012     R1     1800
    23     01-08-012     R1     1500
    
    1     01-09-012     J1     10
    10     01-09-012     J1     20
    15     01-09-012     J1     30
    23     01-09-012     J1     60
    
    1     01-08-012     J1     70
    10     01-08-012     J1     5
    15     01-08-012     J1     17
    23     01-08-012     J1     22
    
    
    Needed o/p:
    
    23     01-09-012     R1     1200
    23     01-08-012     R1     1500
    23     01-09-012     J1     60
    23     01-08-012     J1     22
    We have table as above, IE. everyday, there are records at regular intervals of hours for different users.

    I want to get a single record of every day for one hour on this day for all users.


    Please let me know if my question was unclear?

    -Thank you

    Another way, maybe more simple here, here could be just group by user, day.

    SELECT user, day, Max(hours) max_hours, Max (used_size) KEEP (DENSE_RANK LAST ORDER BY hours) mh_used_size
      FROM (table)
     GROUP BY user, day
     ORDER BY user, day
    
  • Bad high and low value with the varchar2 data type

    Hello

    It is an application on e - biz on database 9205, with inventory module.

    In one of the mtl_txn_request_headers of the table, the data for the number of application type is varchar2 (30). When I checked the low_value & high_value in dab_tab_columns, I see that the low_value is 100001 (6 digits) and high_value is 99999 (5 digits).

    I used the utl_raw.cast_to_varchar2 (low_value) to convert the value.

    In our case, we save a large part of the value in incremental number and some of our query will be in the predicate of the range (between).

    How should I handle this kind of situation and which option do I?

    Appreciate any help. Thank you.

    Accepted this looks like a classic bad-data type problem, but as this picture seems be part of Oracle E-Business Suite the OP should probably talk first Oracle.

  • SQL Fetch max 3 values of a coloumn in descending order.

    Oracle 10.2 g
    Select distinct year 
    from   year_col
    order by year desc
    2006
    2005
    2004
    2003
    2002
    ...
    That the recent 3 years need to be selected
    select distinct max(year) 
    from   year_col
    order by year desc
    Returns
    2006

    but must also 2005,2004

    Cannot use rownum as it continues to change.

    Suggest a method.

    Thank you.

    Published by: Trooper on January 3, 2009 14:35
    Select distinct year
    from   year_col
    where year > to_number(to_char(sysdate,'yyyy')) - 3
    order by year desc
    /
    

    Select year = 2007, 2008, 2009

    SY.

  • The SAR values lower blackBerry 10-> BB phones sold!

    Dear community,

    Dear BB smartphone antenna developers,

    I would like to highlight the fact that the lowest values of SAR (specific absorption rate) of mobile phones have been achieved by Samsung in the last six years. Models Samsung Galaxy have extremely low values of about < 0.4="" w/kg.="" a="" detailed="" list="" of="" phone="" models="" and="" sar="" values="" can="" be="" found="" on="" the="" german="" website=""> http://handywerte.de/index.php.

    Samsung Galaxy phones are a very good quality of voice despite the fact that they «radiate less» Therefore, I wonder why Blackberry is not to low values of SAR, either? There is a great sales potential for Blackberry that there are a lot of clients who have chosen a phone regarding the SAR value - and today chose Samsung.

    Despite the fact that there is no scientific study that shows a harmful effect of radiation of mobile phones on human health, Blackberry could sell a lot more phones with lower values of SAR - threre is still a lot of people out there attention to the value of the DAS.

    With greetings

    BBsupporter

    Hi BillJ,

    you're right, of course, values low SAR are not the only reason to buy a phone and, thus, do not automatically match higher sales rates.

    If you find people who are interested in ras values or not, depends on the audience target, you ask: for example, if you support the business customers who need to ensure security and stability in the communication systems of their company, the fantastic features of the phones blackberry and services (I love blackberry, incidentally) is the main goal.

    However, I am an engineer in electrical engineering and have worked in the field of electromagnetic compatibility (EMC). When you work with EMC, after awhile, I had to deal with a citizen initiative about the radiation from cell phones. I was surprised and realized that there are actually people who think a probably harmful effect of radiation of mobile phones on human health.

    As I said, I am an electrical engineer, and it is until today NO scientific evidence for any harmful effect of the radiation from cell phones. But let's look at it with a BB sale economic point of view: there are different reasons for people to buy a cell phone: a good OS, bright screen, good camera, long term, battery, comfortable keyboard, elegant body, large memory, brilliant speakers, etc... If there are people out there, who want a low das, then let me tell you that there is NOTHING that can be done more easily than a lower SAR!

    For example, to significantly improve the camera, you will need to use better lenses, a better sensor and maybe the software will need to be adjusted for a better signal image processing (noise suppression). This means a significant effort for BlackBerry. As an EMC engineer I can tell you that the effort to change the SAR is significant - it requires only slight changes in the design of the antenna. So if the effort is practically zero, why not do it?

    What's my motivation? I love BlackBerry devices and want just BB to succeed again. It is sad to see that blackberry had so much problems in the past. For example, I think that opening the door for Android in the OS 10 is absolutely necessary and will win back customers.

    So, my post on the SAR was just to suggest how BlackBerry can accomplish some specific wishes of customers even better. If the effort to change the design of the antenna is practically zero, if there is virtually no cost for the changes, and the voice quality can still be excellent (as indicated by Samsung Galaxy devices), so why not reduce the SAR?

    Kind regards

    BBsupporter

  • Impossible to get Min, Max and median of the values in the date range values

    Hello

    I had a requirement as to show the data of each charge group of wise men as '< 100' ' 100-199 "" 200-299 "" 300-399 "400-499, 500-599 600-699 700-799 800-899 900-999 > = 1000 '"»

    With the query be able to get the count between the beach and the total below. But impossible to get the Min and Max values for this range. For example if the County < 100 is 3 then in these 3, the lowest value is need to display in the min. Idem for Max column also.

    In the light of the median value on these values.

    Thanks in advance.



    Requirement is as below:
    State < 100 100-199, 200-299 300-399 400-499, 500-599 600-699 700-799 800-899 900-999 > = 1000 Min Total median Max
    AK 1 2 0 4 1 4 4 35 35 4 1 $25 $85 850 $1,200
    AL 0 0 2 27 10 17 35 2 2 35 0 $103 100-$1 500 750


    * "QUERY ' * '"

    WITH t AS
    (SELECT 'AL' State, 12 DUAL FROM VALUE
    UNION ALL
    SELECT 'AL' State, 67 FROM DUAL VALUE
    UNION ALL
    SELECT 'AL' State, 23 FROM DUAL VALUE
    UNION ALL
    SELECT 'AL' State, 12 DUAL FROM VALUE
    UNION ALL
    SELECT 'AL' State, 12 DUAL FROM VALUE
    UNION ALL
    SELECT 'AL' State, 78 FROM DUAL VALUE
    UNION ALL
    SELECT 'AL' State, 34 FROM DUAL VALUE
    UNION ALL
    SELECT 'AL' State, 4 DUAL FROM VALUE
    UNION ALL
    SELECT 'AL' State, 12 DUAL FROM VALUE
    UNION ALL
    SELECT 'AL' State, 15 VALUE FROM DUAL
    UNION ALL
    SELECT "AZ" State, FROM DUAL VALUE 6
    UNION ALL
    SELECT "AZ" State, 123 FROM DUAL VALUE
    UNION ALL
    SELECT "AZ" State, 123 FROM DUAL VALUE
    UNION ALL
    SELECT 'MY' State, 23 FROM DUAL VALUE
    UNION ALL
    SELECT 'MY' State, 120 FROM DUAL VALUE
    UNION ALL
    SELECT 'MY' State, 456 FROM DUAL VALUE
    UNION ALL
    SELECT 'MY' State, 11 FROM DUAL VALUE
    UNION ALL
    SELECT 'MY' State, 24 FROM DUAL VALUE
    UNION ALL
    SELECT 'MY' State, 34 FROM DUAL VALUE
    UNION ALL
    SELECT 'MY' State, 87 DUAL FROM VALUE
    UNION ALL
    SELECT 'MY' State, 23 FROM DUAL VALUE
    UNION ALL
    SELECT 'MY' State, 234 DUAL FROM VALUE
    UNION ALL
    SELECT 'MY' State, 789 FROM DUAL VALUE
    UNION ALL
    SELECT "HD" State, VALUE FROM DUAL 54321).
    -End of test data
    AS T1
    (SELECT State,
    NVL (COUNT (DECODE (VALUE, 0, 0)), 0) '< 100 ',.
    NVL (COUNT (DECODE (VALUE, 1, 1)), 0) '100-199.
    NVL (COUNT (DECODE (VALUE, 2, 2)), 0) '200-299.
    NVL (COUNT (DECODE (VALUE, 3, 3)), 0) '300-399.
    NVL (COUNT (DECODE (VALUE, 4, 4)), 0) '400-499.
    NVL (COUNT (DECODE (VALUE, 5, 5)), 0) '500-599,'
    NVL (COUNT (DECODE (VALUE, 6, 6)), 0) '600-699.
    NVL (COUNT (DECODE (VALUE, 7, 7)), 0) '700-799.
    NVL (COUNT (DECODE (VALUE, 8, 8)), 0) '800-899.
    NVL (COUNT (DECODE (VALUE, 9, 9)), 0) '900-999. "
    NVL (COUNT (DECODE (VALUE, 10, 10)), 0) ' > = 1000.
    (SELECT STATE,
    CASE
    WHAT VALUE < 100 THEN 0
    WHAT A VALUE BETWEEN 100 AND 199 THEN 1
    WHAT VALUE BETWEEN 200 AND 299, THEN 2
    WHAT VALUE BETWEEN 300 AND 399 THEN 3
    WHAT VALUE BETWEEN 400 AND 499 THEN 4
    WHAT VALUE BETWEEN 500 AND 599 5 THEN
    WHAT VALUE BETWEEN 600 AND 699 6 THEN
    WHAT VALUE BETWEEN 700 AND 799 THEN 7
    WHAT VALUE BETWEEN 800 AND 899 8 THEN
    WHAT VALUE FROM 900 TO 999 9 THEN
    WHAT VALUE > = 10 THEN 1000
    END
    VALUE
    T)
    GROUP BY State)
    SELECTION STATE,
    "< 100."
    "100-199.
    "200 299",
    "300-399.
    "400-499.
    '500-599,'
    "600-699.
    "700-799.
    "800-899.
    "900-999."
    "> = 1000."
    '< 100 '.
    + "100-199.
    + "200-299.
    + '300-399.
    + '400-499.
    + "500-599.
    + '600-699.
    + "700-799.
    + "800-899.
    + '900-999 ".
    + ' > = 1000.
    in total,.
    less ("< 100",)
    "100-199.
    "200 299",
    "300-399.
    "400-499.
    '500-599,'
    "600-699.
    "700-799.
    "800-899.
    "900-999."
    ("> = 1000 ') min_val,.
    largest ("< 100",)
    "100-199.
    "200 299",
    "300-399.
    "400-499.
    '500-599,'
    "600-699.
    "700-799.
    "800-899.
    "900-999."
    ("> = 1000 ') max_val
    FROM t1
    /

    Why not keep it simple?

    WITH t AS
    (SELECT 'AL' state, 12 VALUE FROM DUAL
    UNION ALL
    SELECT 'AL' state, 67 VALUE FROM DUAL
    UNION ALL
    SELECT 'AL' state, 23 VALUE FROM DUAL
    UNION ALL
    SELECT 'AL' state, 12 VALUE FROM DUAL
    UNION ALL
    SELECT 'AL' state, 12 VALUE FROM DUAL
    UNION ALL
    SELECT 'AL' state, 78 VALUE FROM DUAL
    UNION ALL
    SELECT 'AL' state, 34 VALUE FROM DUAL
    UNION ALL
    SELECT 'AL' state, 4 VALUE FROM DUAL
    UNION ALL
    SELECT 'AL' state, 12 VALUE FROM DUAL
    UNION ALL
    SELECT 'AL' state, 15 VALUE FROM DUAL
    UNION ALL
    SELECT 'AZ' state, 6 VALUE FROM DUAL
    UNION ALL
    SELECT 'AZ' state, 123 VALUE FROM DUAL
    UNION ALL
    SELECT 'AZ' state, 123 VALUE FROM DUAL
    UNION ALL
    SELECT 'MA' state, 23 VALUE FROM DUAL
    UNION ALL
    SELECT 'MA' state, 120 VALUE FROM DUAL
    UNION ALL
    SELECT 'MA' state, 456 VALUE FROM DUAL
    UNION ALL
    SELECT 'MA' state, 11 VALUE FROM DUAL
    UNION ALL
    SELECT 'MA' state, 24 VALUE FROM DUAL
    UNION ALL
    SELECT 'MA' state, 34 VALUE FROM DUAL
    UNION ALL
    SELECT 'MA' state, 87 VALUE FROM DUAL
    UNION ALL
    SELECT 'MA' state, 23 VALUE FROM DUAL
    UNION ALL
    SELECT 'MA' state, 234 VALUE FROM DUAL
    UNION ALL
    SELECT 'MA' state, 789 VALUE FROM DUAL
    UNION ALL
    SELECT 'MH' state, 54321 VALUE FROM DUAL)
    SELECT state
         , NVL( COUNT( case when VALUE < 100 then 0 end ), 0 ) "<100"
         , NVL( COUNT( case when VALUE between 100 and 199 then 0 end ), 0 ) "100-199"
         , NVL( COUNT( case when VALUE between 200 and 299 then 0 end ), 0 ) "200-299"
         , NVL( COUNT( case when VALUE between 300 and 399 then 0 end ), 0 ) "300-399"
         , NVL( COUNT( case when VALUE between 400 and 499 then 0 end ), 0 ) "400-499"
         , NVL( COUNT( case when VALUE between 500 and 599 then 0 end ), 0 ) "500-599"
         , NVL( COUNT( case when VALUE between 600 and 699 then 0 end ), 0 ) "600-699"
         , NVL( COUNT( case when VALUE between 700 and 799 then 0 end ), 0 ) "700-799"
         , NVL( COUNT( case when VALUE between 800 and 899 then 0 end ), 0 ) "800-899"
         , NVL( COUNT( case when VALUE between 900 and 999 then 0 end ), 0 ) "900-999"
         , NVL( COUNT( case when VALUE >= 1000 then 0 end ), 0 ) ">=100"
         , count( value ) "total"
         , min( VALUE ) "min"
         , max( VALUE ) "max"
         , avg( VALUE ) "avg"
         , median( value ) "median"
    from t
    group by state
    
  • How to find the value max and min of an attribute for a master VO

    Hello
    Is it possible to find maximum and minimum a master view object attribute values in groovy.
    I need to have the (START_DATE) min and max (end_date), values to pass to my Gantt chart to the table project start date and end date.
    For detail view objects, we can use < accessor > .max (start_date), but to see Master objects?

    I use jdeveloper 11.1.1.3.

    Thank you
    Guna.

    Published by: guna.b on December 13, 2010 11:01

    How about setting GOES to the same point of view and by using the groovy you mentioned in your message

Maybe you are looking for

  • Ignores files Windows Media Player 11

    Original title: Windows Media Player 11, XP OS Some files do not play for a second in windows media player a will to the next song. Same file plays fine on other media players (Zune). Its not all the songs are just a couple so far. I run XP always. A

  • My icons are too big for the screen. Everything on the computer is too big

    My wife was taking programs on the computer and the size of the print and everything else on the screen got bigger. I'm certainly not computer illiterate. I can't even read the e-mail as a result. Please advise as to a solution to this problem. Thank

  • Windows 7 Activation think I have a new computer

    I wiped my C drive because it was full of junk and re installed my copy of windows 7. I have not bought a new computer. I have not installed a new motherboard. Windows 7 was not an OEM copy. Now my activation code is rejected. How can I fix it?

  • The distribution of the RAM to progrrams in Windows 7 64 bit

    I have 24 GB of RAM, and I would like to know (if someone could guide me through it) if I can refer everything (ram) to a program that downloads a file or an update ("on the fly"). I run W - 7 p 64 bit Os ATM.

  • Fuji RAF XT10 files-help with upgrade to 6.1

    Hi allJust upgraded to LR6 with the hope that he could read the XT10 Fuji .raf RAW files.  It does not recognize the files.  Adobe told me I need to upgrade to 6.1, but does not have a link to.  Googling doesn't help, and Adobe doesn't let me call th