Bug min & Max?

Hi all

I noticed a strange behavior in the min & Max node in the snippet below. It is set to compare items. According to the size of array, as determined by 'Dimension' the resultant y table for the 'Signal' gives different results.

It is supposed to read:

NaN, 1, 1, 1, 2, 2, 2, NaN...

But when I get a value for the 'Dimension' of 16 or more, it reads:

NaN, NaN, NaN, NaN, NaN, 2, 2, 2...

For small values of 'Dimension', the code snippet works as expected.

With the help of probes, it seems that min (NaN; x) = x for tables with 15 elements and less and larger paintings is min (NaN; x) = NaN

Certainly it is not provided for

I guess I'm missing something obvious and I'm about to learn something.

Or is it really a bug?

With the help of LV 2011 SP1

Concerning

Florian

A solution to your problem is to put a loop around the comparison.  It will give consistent results.

What I find interesting, it's the result of more than 16 items of tables is the same that if you compare the aggregates.

It also has appearss to be precise to NaN.  If you use a different value for your table, you don't see the value changes.

I can also confirm the same behavior in LV2012.

Tags: NI Software

Similar Questions

  • I have version 29.0.1 and frequently the top right three boxes (min, max, quit) are missing. How should I do?

    Since the installation of version 29, I had this problem where the three boxes are missing. It happens sometimes that I start FireFox. I can right-click in the min, max or closing of FireFox and area. I never had the problem before. I have an i7 processor and on Windows 7.

    The boxes are not visible (i.e., they show a ToolTip if you hover and work if the click in this area) or whatever should not happen at all?

    You can check the problems caused by a corrupt localstore.rdf file.

    You can check for problems with preferences.

    Delete a possible user.js file and files numbered prefs-# .js and rename (or delete) the file prefs.js to reset all the prefs by default, including the prefs set via user.js and pref which is no longer supported in the current version of Firefox.

  • FF9 - hide window control buttons in the title bar (min, max, close) with userchrome.css?

    I use FF9. I userscript.css hide app titlebar button and orange, but the buttons control window always visible! I can't find the script working.

    I don't need min-max-closing button and used to hide if possible without extension.

    Here's screenshort:
    http://s018.Radikal.ru/i522/1201/50/f6a6ea445507.jpg

    If you use the full screen mode and you have these buttons on the Navigation bar, then you should use this code.

    #window-controls { display:none!important; }
  • min/max with outputs ttl statistics

    This is a weird problem. I have attached the worksheet because it is difficult to explain the problem. First of all, let me explain what this thing is supposed to do. A generator of signals outputs sine 5Vp - p, in addition to four. After being added, I use a module of statistics to determine the Min/Max. All I need is the maximum, the minimum is ignored (I'm only looking to the + pics). The + peaks are evaluated to identify uniquely to the final output, which sinewave (s) have been entered in the worksheet. Since I finally need 16 - bit I had to add a scalar unit (scale module) to create the entry 16 (max 15 son allowed an output) by expanding the 15th input to two outputs. I see the expected level of TTL is issued by the module of statistics on three modules Y/t diagram. This tells me that things seem a little work at the exit of the module of SEO (the values of hysteresis in the stat module need to be tweaked to produce all the unique values (16), but it works at least. The problem is that the module of bitmask (set to combine tips - 16-bit conversion for a wide release) generates no output regardless of sinewave different combinations of entry. I thought that I have had set a good example of C.J. provided. I hooked of DMM to also monitor the inputs to the module of bitmask (called 16-bit encoder) - I can't get the digital multimeter to display the output of the module of the stat, but the modules Y/t show the output TTL values there. Both show the modules expected to show which is output, but don't--that intrigues me. The frequency of the sine wave is set to 1,2,4 & 8 Hz for debugging, so I know it is not too fast for the DMM display - I proved this by connecting the sum as an input for the senior DMM sinewave and it displays the voltage changes without problem.

    Thus, the two questions are: 1) why the DMM is not working at the release of the Y/t modules or Module Min/Max of Stat?  (2) why the bitmask Module cannot evaluate its entries? The added sine wave is continuous and constant phase.

    Any help would be appreciated. This has really baffled me, trying to debug.

    It dawned on me that the DMM is placed where they will not work because they are supposed to show a too short period of tension. They would appear between 5V and 25V depending on the number of 5V wfm summary, but each TTL output, they try to show are nothing more than the duration milliseconds--not a good application for a DMM. Now, it's just a question of what is the problem with the 16-bit conversion package around!

    Any suggestions on the problem?

  • Min/max to accumulate dasylab peaks? Is this possible?

    In collaboration with Dasylab 10.  I'm looking to collect peaks min/max on a form of sinwave we will run.  Is this possible?  If so, how?  Or I have to just to oversample and sift through data?

    Thank you!

    Select this option.

    Use the statistics module called Minimum / Maximum.

    This will display the value (you choose minimum, maximum or both), or will display a TTL signal, with a peak TTL (5V) to record highs.

    Adjust the hysteresis value to avoid detection from noise and spikes, or use a moving average to smooth out the signal.

  • Min/Max for the calculation of depreciation

    Hey guys, I'm looking to find a curve of free vibration damping factor. I'll use the logarithmic decrement method. I understand that I must get the min max of 2 cycles in my FV curve.

    How to 'point' to the different cycles in my curve? IE. I want to get the min/max of the cycle 1 (before disintegration) and then the 6th cycle after.

    Can someone give me advice?


  • Calibration of a filter CPL Positions mini/maxi

    Well, then you rotate a CPL filter to vary the amount of filtering. I have never saw one that is marked with the designations showing where the rotation is maximum and minimum filtering. I found a gross way, but apparently very effective, the positioning of the filter very close of the min/max posts filtering. Attach one to your goal and then look in your camera to an LCD flat screen which is powered on, of course, while you turn the filter. My question is simple. What is the best practice, if there is one, for the marking of the mini/maxi positions of your filter? I was tempted to use Nail Polish.

    Waddizzle wrote:
    Well, then you rotate a CPL filter to vary the amount of filtering. I have never saw one that is marked with the designations showing where the rotation is maximum and minimum filtering. I found a gross way, but apparently very effective, the positioning of the filter very close of the min/max posts filtering. Attach one to your goal and then look in your camera to an LCD flat screen which is powered on, of course, while you turn the filter. My question is simple. What is the best practice, if there is one, for the marking of the mini/maxi positions of your filter? I was tempted to use Nail Polish.

    There is no minimum/maximum positions. The degree of polarization of incident light depends on the angle whereat the sun shines on the subject. The best practice is to rotate the filter until the sky is darker sound or it seems bleak for your application. If instead you are photographed a puddle, the ideal position is when you see the correct amount of reflection (or even any) therein. That's really ridiculously simple: what you see is what you get. and if you don't like it, change it.

    But the fact that the angle is so big difference means that polarizers do not work very well with wide angle lenses. On one side of the image to the other, the angle can be very different. If the sky can appear half blue and half white.

    Yes, some of the laws of physics must be amended or repealed. But this result is probably not in our lives, given the means of partisan political bickering, we're cursed. He must learn to live with things as they are, alas, rather than as we would like them to be.

  • Date field min, max attribute does not

    Hi team,

    I use in my application webworks, html date field. I want to control the date range of selection user with min and Max device attribute shows the native date picker after giving the input focus, but its does not not the given range.

    Please suggest me how to do?

    Kind regards

    Ilhem

    Thank you, it seems that the spec meets the min/max of what I could find.

    I reported it to the WebWorks team.

  • Can we use the two Min max and MRP element


    Hello

    We can user Min max and the MRP of planning for the element in the same Org (11.5.10.2)

    Thanks in advance

    Ravi

    Hi Ravi,

    There are no restrictions such as a... but it would be an unnecessary activity.

    If your release to users even planned orders by mistake... you would create duplicate supplies.

    Is there any need specific job for which you want to use both of these methods of planning as a whole?

    Kind regards

    Mohan Balaji

  • How AutoSchedule Min Max planning?

    Hi all


    How Auto Min Max planning calendar?


    Thanks in advance.


    'Min - max planning report' is a concurrent request under the responsibility of the inventory.  You will need to just this simultaneous broadcast to run - no. Restock will create throughout the report while repopulate Yes will create demand for recordings of interface for min - max amounts.

  • Get the date range min/max for consecutive events.

    Hi all...

    I am fairly new to the programming of the DB and is working on some examples I picked up a few places. The database version is 10g R2.

    I would like to configure the data here and I can explain my requirement.

    create table table_1
    (product_id varchar2(25),
    region_id  number,
    event_id number
    event_date date,
    event_status number(1))
    /
    
    
    

    Now the data because it is->

    insert into table_1 values ('Prod-1',10, null, to_date('01-feb-2014','dd-mon-yyyy'),null)
    /
    insert into table_1 values('Prod-1',10, 1001, to_date('10-mar-2014','dd-mon-yyyy'), 1)
    /
    insert into table_1 values('Prod-1',10, 1001, to_date('20-mar-2014','dd-mon-yyyy'), 3)
    /
    insert into table_1 values('Prod-1',10,1002, to_date('01-apr-2014','dd-mon-yyyy'), 1)
    /
    insert into table_1 values('Prod-1',10, 1002, to_date('10-apr-2014','dd-mon-yyyy'), 3)
    /
    commit
    /
    
    
    
    

    If the table now contains the following data

    select * from table_1; 
    
    
    

    PRODUCT_ID REGION_ID EVENT ID EVENT_DAT EVENT_STATUS

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

    Prod-1 10 1 February 14

    Prod-1 10 1001 10 March 14 1

    Prod-1 10 1001 20 March 14 3

    Prod-1 10 1002 1 April 14 1

    Prod-1 10 1002 April 10, 14 3

    Now, the condition is as follows:

    Above is the dates start and end for the tests on a product in a given region. The event_status column indicates the dates of beginning and end. Event_status = 1, for the date of beginning and the event_status = 3 of the end date.

    A new event is now coming from March 21 and ending on March 31.

    The power required is a product identifier / region; If there are events that are ending and then count the days, for example, 1001 to end on March 20, but now the new event begins on 21 March... and the new event ends on 31 March and event 1002 begins 01 - Apr... and so on.

    The output required for this is as follows:

    PRODUCT_ID REGION_ID EVENT_MIN_DATE EVENT_MAX_DATE

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

    Prod-1 10 10 14 March 10 April 14

    The output should give a product identifier / region, when events are immediately after the other, out the min date of beginning and end of max for all these manifestations of "back to back".

    Now I wrote the code for this, but it goes into a purely 'loop' for application in PLSQL... But my head tells me that if the results are correct. the PLSQL implementation is not the most efficient and effective way.

    Can someone help me to form the query? I tried to use functions analytical min/max but it gives me the start and end dates back even if my events are not "back to back" or previous/succeed each other... so my query result is not quite correct.

    Am reading on the TYPE clause but would be grateful if someone could help me with this query... or any other form better to implement this event so PLSQL can be used. The database version is 10g R2.

    Thank you

    K

    PS - The number of such events back to back is limited to 4 and the events could be created in any order. But if someone could help me with the scenario above; am sure I could make a request addressed to any change in the order. :-)

    No this isn't a recursive with clause, perhaps the UNION ALL you got confused. She will work with 10g.

    Since there are 2 tables that you said, the block all_data brings together only the lines of the two tables. table_1 start_date and end_date are built from the event_status (where the max in group by).

  • Min/Max Questions about VCP5?

    I passed my VCP4 exam last year and plan the VCP5 next week. I took the who's 5.0 new course so we're ready to go. For all of you who have RECENTLY taken their VCP5 review, I have a few questions:

    1. some practice tests and study guides still have a lot of questions min/max and, of course, they do not mention if they are maximum for 4.1, 5.0 or 5.1 - it's really bad try to keep all this directly when the questions are broad. It has spent a lot on my VCP4 exam and it's maddening. So are they min/max on VCP5 issues and what version they relate?

    2 - advice on the differences on VCP4 vs VCP5? What categories are more focused on? The examination plan is wide enough for a review more "basic", this is a little crazy.

    3 - I found the VCP4 extremely difficult, even after MONTHS of constant study. Good news for VCP5?

    Thanks in advance.

    (1) Mmin/max questions aren't as much of a focus - you will not get a question asking specifically what min/max but that may be a component of a question - the VCP exam will always carry the recent version - so assume the VCP5 will be 5.1

    (2) the review of VCP is NOT a review of base - it is intended to test the range of the VMware product knowledge - so be prepared to meet with anythin that is covered in the action plan.

    (3) plan on the VCP5 to be as difficult - the only good news is questions are similar in syntax to the VCP4 so you know what to expect now

  • Min / Max in the subquery

    I'm currently doing tests on Oracle, Postgres and MySQL.
    However, Oracle returns me "ORA-00934: Group feature is not allowed here" the same query works with others.

    The idea is to return first, Min, Max, last prices for one day on a particular ID.
    SELECT
      quotes.id,
      min(quotes.received_time) as opening_time,
      (SELECT ask_price FROM "price_quotes" WHERE id=quotes.id AND received_time >=timestamp'2012-12-10 00:00:00' AND received_time < timestamp'2012-12-11 00:00:00' AND received_time=min(quotes.received_time) ) AS opening_price,
      (SELECT received_time FROM "price_quotes" WHERE received_time >=timestamp'2012-12-10 00:00:00' AND received_time < timestamp'2012-12-11 00:00:00' AND id=quotes.id and ask_price=min(quotes.ask_price) LIMIT 1) as min_price_time,
      min(quotes.ask_price) as min_price,
      max(quotes.received_time) as closing_time, 
      (SELECT ask_price FROM "price_quotes" WHERE id=quotes.id AND received_time >=timestamp'2012-12-10 00:00:00' AND received_time < timestamp'2012-12-11 00:00:00' AND received_time=max(quotes.received_time)) as closing_price,
      (SELECT received_time FROM "price_quotes" WHERE received_time >=timestamp'2012-12-10 00:00:00' AND received_time < timestamp'2012-12-11 00:00:00' AND id=quotes.id and ask_price=max(quotes.ask_price) LIMIT 1) as max_price_time,
      max(quotes.ask_price) as max_price
    FROM
      "price_quotes" quotes
    WHERE
      quotes.received_time >= timestamp'2012-12-10 00:00:00' and quotes.received_time < timestamp'2012-12-11 00:00:00'
      AND quotes.id = 668792
    GROUP BY quotes.id ORDER BY quotes.id ;
    I tried to use HAVING and pass the query to the place WHERE but no luck.


    This is the Create Table:
    CREATE TABLE "price_quotes"
    (
       id number(8),
       received_time timestamp, 
       mid_price float, 
       bid_price float,
       ask_price float,
       mid_yield float,
       bid_yield float,
       ask_yield float,
       mid_spread float,
       bid_spread float,
       ask_spread float,
       product_id number(8), 
       product_yield float,
       PRIMARY KEY ( id , received_time )
    );
    Sample data:
    INSERT INTO "price_quotes" VALUES ( 668792, timestamp'2012-12-10 08:00:00', 103, 120, 110, 7, 8, 9, 2.100, 3.050, 4.28999, 29, 1.050);
    INSERT INTO "price_quotes" VALUES ( 668792, timestamp'2012-12-10 10:00:00', 99, 98, 100, 4, 2, 3, 0.100, 0.050, 0.28999, 24, 0.050);
    INSERT INTO "price_quotes" VALUES ( 668792, timestamp'2012-12-10 16:00:00', 100, 99, 101, 5, 3, 4, 0.200, 0.100, 0.29999, 25, 0.100);
    INSERT INTO "price_quotes" VALUES ( 668792, timestamp'2012-12-10 17:00:00', 10, 9, 11, 1, 2, 3, 0.210, 0.330, 0.99, 15, 1.100);
    Oracle: 11.2.0.1.0

    Published by: 986853 on February 7, 2013 12:23

    Hello

    986853 wrote:
    Thanks for the info, I have edited and corrected the post.

    Thank you.
    Be sure to post the results desired from these sample data.

    This is the Create Table:

    CREATE TABLE "price_quotes"
    (
    id number(8),
    received_time timestamp, ...
    

    In Oracle, the names of table in double - quotes are a huge pain.
    In addition, if you do not need to register the fractions of a second, use DATEs instead of TIMESTAMPs. They are more effective, and there are a lot more built-in features for dealing with DATEs.
    Of course, if you're trying to minimize the differences between the databases, which may influence your decision.

    Here are the results you want from the given sample data?

    `       OPENING    OPENING  MIN_ CLOSING    CLOSING MAX_PRICE   MAX_
         ID _TIME       _PRICE PRICE _TIME       _PRICE _TIME      PRICE
    ------- ---------- ------- ----- ---------- ------- ---------- -----
     668792 10-DEC-12      110    11 10-DEC-12       11 10-DEC-12    110
            08.00.00.0               05.00.00.0         08.00.00.0
            00000 AM                 00000 PM           00000 AM
    

    Here's a way to recover them with the FIRST and LAST fucntions aggregate:

    SELECT       id
    ,       MIN (received_time)     AS opening_time
    ,       MIN (ask_price)
               KEEP (DENSE_RANK FIRST ORDER BY received_time)
                                    AS opening_price
    ,         MIN (ask_price)     AS min_price
    ,       MAX (received_time)     AS closing_time
    ,       MIN (ask_price)
               KEEP (DENSE_RANK LAST  ORDER BY received_time)
                                    AS closing_price
    ,       MIN (received_time)
               KEEP (DENSE_RANK LAST  ORDER BY ask_price)
                                    AS max_price_time
    ,       MAX (ask_price)     AS max_price
    FROM       price_quotes
    WHERE       received_time     >= TIMESTAMP '2012-12-10 00:00:00'
    AND       received_time <  TIMESTAMP '2012-12-11 00:00:00'
    -- AND        id           = 668792
    GROUP BY  id
    ORDER BY  id
    ;
    
  • 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
    
  • can I set the min/max for several images at once?

    I brought in my design of the page of photoshop and I don't want the images or text resize when the browser window is made smaller.

    Is there a way to do this without defining every min & max individually?

    I answered my own question in the end, I am proposing to the background of the parent

Maybe you are looking for

  • Tumblr does not load images in Firefox, but works in other browsers

    Recently, after that Firefox itself updated (as it usually does), I noticed that Tumblr does not work for me. I mean, is that, while the site to load and I can view the text without a problem, about 50% of the images do not load even if I refresh the

  • Portable photo transfer Pavilion

    Laptop will not recognize HP camera connected by USB, camera about 4 years, for laptop new windows 8.1

  • Cannot disable my Satellite Pro L300 PSLB9U

    Hello!I don't know what happened, maybe it's when I used a type of program registry cleaner: advanced system optimizer, or a virus my pc infected too: Worm/Autoit.AGW or AGX... but now when I want to stop the laptop, nothing happens.I made a backup o

  • Google Earth does not work.

    Downloaded programs. Tried to start and the error message says "Windows cannot find"googleearth.exe".

  • Open the files zipped,

    When I try to open the files option button gives me will not, or cannot open files of programs. (wrong type of files)