Sort of a group of numbers

Hi all

I am reorganizing my digital signals by the presence of a front panel control that allows the user dynamically set the channel.

On the front panel, I have composed a set of unsigned integer typedef.  I want to sort this cluster in numbers and be able to exploit the case of the label.

I understand how to assemble digital waveforms with digital subset and add digital signals, but I do not know how to sort the data structure I created.

I do not know there is an easy way to do this and she escapes just me.  I'm on the right track with my data structure?

You can use a Cluster for the Array function to get an array of the values cluster.

You can create a table 1 d of channels where you hardcode the labels.  (There should be ways to get programmatically the labels in a script, but I don't think it's worth the effort).

If you bundle up your array of numbers with your array of strings so that you have an array of clusters (each element of the array is a grouping of the value and the string), you can then sort the table 1 d.

Even simpler.  It is not necessary to get the names of the elements of script.  I've added an example VI.

Tags: NI Software

Similar Questions

  • Sort of a system of numbering both Alpha and numeric characters

    I have a database of about 370 products we manufacture. The numbering system is 3 digit design followed by the character alpha code 1-6 letters. For example:

    014A6LP (for our company, that means that number 14, while the A6 refers to a particular size and the LP of the design is the type of product).

    014FAP (same design, different product type)

    014A2LPBX (again, same design, different product type)

    I tried to sort my table such as numbers and text. I tried to add custom formats that include leading zeros. I even tried to let go the zeros (even if I really need them). I don't like to work.

    The result I want is this:

    001A6LP

    002A6LP

    002FAP

    003A2FPBX

    003A6LP

    003NBF

    etc, etc.

    what I get instead is this: as you can see it my list starts with 012 instead of 001. As it continues, 100 comes before 010, etc.

    I look forward to your ideas and help.

    Thank you

    Josh

    Hi Josh,.

    You can paste your table in a post (as opposed to a screenshot)?  In this way we can try the actual values you have.

    SG

  • How to compare consecutive groups of numbers in tables

    Hello

    I need from there to place a table 1 d of the solution.

    I need to compare two tables and record the same numbers that are in the two tables, but also save groups of numbers which can be in one of the two compared tables.

    In the example l could not put all consecutive numbers 8,9,10,11,12 groups in a 1 d array.

    Example l have to filter the zeros and the number four.

    The numbers in the two tables are always in descending order however may not be in the order of the array index number. It's 15 = 15 index number

    A series of consecutive numbers in this example is a group which increase by a value of 1. For example. 8,9,0,22,23,24 are two consecutive groups of numbers.

    Thank you


  • Sort of chain letters with numbers

    Hello

    I have a list of numbers with letters.

    For example:

    12

    AB

    9A

    C1

    I want to sort them like this

    Numbers to go first, then letters, (in the two columns, respectively), so this is what it should look like:

    12

    9A

    AB

    C1

    I don't think that there is a function to do this,

    But if someone can explain to me how to achieve the best possible

    I would really appreciate it!

    Thanks in advance

    Davey

    Please try if the out-of-box-script SortPararagraphs.jsx in your Scripts to Application folder works for you.

  • Sort problem: ORDER BY the numbers all first instead of characters first

    Hello

    I need help with the problem of the following sort:

    create table test01 (sorting_column varchar2 (30));

    insert into values test01 ('Test123');
    insert into values test01 ("Test987");
    insert into values test01 ("123Test");
    insert into values test01 ("987Test");
    insert into test01 values (string 'test');

    Select sorting_column from test01 arrested by sorting_column;

    SORTING_COLUMN
    ------------------------------
    Test string
    Test123
    Test987
    123Test
    987Test

    This is not the order that I need. I really wish it were (numbers before characters):

    123Test
    987Test
    Test123
    Test987
    Test string

    Can anyone help?

    Thanks in advance,
    Marc
    SELECT sorting_column
    FROM test01
    ORDER BY nlssort(sorting_column, 'NLS_SORT=BINARY')
    ;
    

    Can be set at the level of the session as well:

    ALTER SESSION SET NLS_SORT = BINARY;
    

    Published by: odie_63 on June 20, 2011 17:45

  • Sorting in a group

    Hello
    As a result of my XML Code, can you help me to get the sorted output following the link 'Requested A Qutput'

    http://S12.PostImage.org/dujn3zor1/CURRENT_OUTPUT.gif (this is based on my rtf model output current)

    http://S10.PostImage.org/79panrfft/EXPECTED_OUTPUT.gif (this is the requested output)

    XML code:

    -< OPEN_SO >
    -< LIST_G_ORDERS >
    -< G_ORDERS >
    < AMOUNT > 0 < / AMOUNT >
    < AMOUNT_USD > 0 < / AMOUNT_USD >
    XX CLIENT < client_name > < / client_name >
    < > 31160 ORDER_NUMBER < / ORDER_NUMBER >
    < CREATION_DATE > 24 October 12 < / CREATION_DATE >
    < LINE_NUMBER > 1 < / LINE_NUMBER >
    < ELEMENT > 10004500 < / ITEM >
    < ITEM_DESCRIPTION > 100 < / ITEM_DESCRIPTION >
    < ORDERED_QUANTITY > 1 < / ORDERED_QUANTITY >
    < UNIT_SELLING_PRICE > 0 < / UNIT_SELLING_PRICE >
    USD < CURRENCY > < / CURRENCY >
    < CONVERSION_RATE / >
    < SCHEDULE_SHIP_DATE > 24 October 12 < / SCHEDULE_SHIP_DATE >
    < PAYMENT_TERMS > MOE + 30 < / PAYMENT_TERMS >
    < / G_ORDERS >
    -< G_ORDERS >
    < AMOUNT > 0 < / AMOUNT >
    < AMOUNT_USD > 0 < / AMOUNT_USD >
    XX CLIENT < client_name > < / client_name >
    < > 31160 ORDER_NUMBER < / ORDER_NUMBER >
    < CREATION_DATE > 24 October 12 < / CREATION_DATE >
    < LINE_NUMBER > 2 < / LINE_NUMBER >
    < ELEMENT > 10004500 < / ITEM >
    < ITEM_DESCRIPTION > 100 < / ITEM_DESCRIPTION >
    < ORDERED_QUANTITY >-1 < / ORDERED_QUANTITY >
    < UNIT_SELLING_PRICE > 0 < / UNIT_SELLING_PRICE >
    USD < CURRENCY > < / CURRENCY >
    < CONVERSION_RATE / >
    < SCHEDULE_SHIP_DATE / >
    < PAYMENT_TERMS > MOE + 30 < / PAYMENT_TERMS >
    < / G_ORDERS >
    -< G_ORDERS >
    < AMOUNT > 400 < / AMOUNT >
    < AMOUNT_USD > 400 < / AMOUNT_USD >
    XX CLIENT < client_name > < / client_name >
    < > 74476 ORDER_NUMBER < / ORDER_NUMBER >
    < CREATION_DATE > 23 October 12 < / CREATION_DATE >
    < LINE_NUMBER > 2 < / LINE_NUMBER >
    < ELEMENT > 10004500 < / ITEM >
    < ITEM_DESCRIPTION > 100 < / ITEM_DESCRIPTION >
    < ORDERED_QUANTITY > 20 < / ORDERED_QUANTITY >
    < UNIT_SELLING_PRICE > 20 < / UNIT_SELLING_PRICE >
    USD < CURRENCY > < / CURRENCY >
    < CONVERSION_RATE / >
    < SCHEDULE_SHIP_DATE > 23 October 12 < / SCHEDULE_SHIP_DATE >
    < PAYMENT_TERMS > NET 30 < / PAYMENT_TERMS >
    < / G_ORDERS >
    -< G_ORDERS >
    < AMOUNT > 100 < / AMOUNT >
    < AMOUNT_USD > 100 < / AMOUNT_USD >
    XX CLIENT < client_name > < / client_name >
    < > 74482 ORDER_NUMBER < / ORDER_NUMBER >
    < CREATION_DATE > 24 October 12 < / CREATION_DATE >
    < LINE_NUMBER > 1 < / LINE_NUMBER >
    < ELEMENT > 10005000 < / ITEM >
    MIC < ITEM_DESCRIPTION > < / ITEM_DESCRIPTION >
    < ORDERED_QUANTITY > 10 < / ORDERED_QUANTITY >
    < UNIT_SELLING_PRICE > 10 < / UNIT_SELLING_PRICE >
    USD < CURRENCY > < / CURRENCY >
    < CONVERSION_RATE / >
    < SCHEDULE_SHIP_DATE > 24 October 12 < / SCHEDULE_SHIP_DATE >
    < PAYMENT_TERMS > Net 30 < / PAYMENT_TERMS >
    < / G_ORDERS >
    -< G_ORDERS >
    < AMOUNT > - 12.38 < / AMOUNT >
    < AMOUNT_USD > - 12.38 < / AMOUNT_USD >
    XX CLIENT < client_name > < / client_name >
    < > 31159 ORDER_NUMBER < / ORDER_NUMBER >
    < CREATION_DATE > 27 August 12 < / CREATION_DATE >
    < LINE_NUMBER > 2 < / LINE_NUMBER >
    < ELEMENT > 10028140 < / ITEM >
    BOD < ITEM_DESCRIPTION > < / ITEM_DESCRIPTION >
    < ORDERED_QUANTITY >-1 < / ORDERED_QUANTITY >
    < UNIT_SELLING_PRICE > 12.38 < / UNIT_SELLING_PRICE >
    USD < CURRENCY > < / CURRENCY >
    < CONVERSION_RATE / >
    < SCHEDULE_SHIP_DATE / >
    < PAYMENT_TERMS > MOE + 30 < / PAYMENT_TERMS >
    < / G_ORDERS >
    -< G_ORDERS >
    < AMOUNT > 300 < / AMOUNT >
    < AMOUNT_USD > 300 < / AMOUNT_USD >
    XX CLIENT < client_name > < / client_name >
    < > 74477 ORDER_NUMBER < / ORDER_NUMBER >
    < CREATION_DATE > 23 October 12 < / CREATION_DATE >
    < LINE_NUMBER > 1 < / LINE_NUMBER >
    < ELEMENT > 10005500 < / ITEM >
    Sam < ITEM_DESCRIPTION > < / ITEM_DESCRIPTION >
    < ORDERED_QUANTITY > 10 < / ORDERED_QUANTITY >
    < UNIT_SELLING_PRICE > 30 < / UNIT_SELLING_PRICE >
    USD < CURRENCY > < / CURRENCY >
    < CONVERSION_RATE / >
    < SCHEDULE_SHIP_DATE > 23 October 12 < / SCHEDULE_SHIP_DATE >
    < PAYMENT_TERMS > MOE + 30 < / PAYMENT_TERMS >
    < / G_ORDERS >
    -< G_ORDERS >
    < AMOUNT > 0 < / AMOUNT >
    < AMOUNT_USD > 0 < / AMOUNT_USD >
    XX CLIENT < client_name > < / client_name >
    < > 31159 ORDER_NUMBER < / ORDER_NUMBER >
    < CREATION_DATE > 27 August 12 < / CREATION_DATE >
    < LINE_NUMBER > 6 < / LINE_NUMBER >
    < ELEMENT > 10011233 < / ITEM >
    SF4 < ITEM_DESCRIPTION > < / ITEM_DESCRIPTION >
    < ORDERED_QUANTITY >-1 < / ORDERED_QUANTITY >
    < UNIT_SELLING_PRICE > 0 < / UNIT_SELLING_PRICE >
    USD < CURRENCY > < / CURRENCY >
    < CONVERSION_RATE / >
    < SCHEDULE_SHIP_DATE / >
    < PAYMENT_TERMS > MOE + 30 < / PAYMENT_TERMS >
    < / G_ORDERS >
    -< G_ORDERS >
    < AMOUNT > - 1.49 < / AMOUNT >
    < AMOUNT_USD > - 1.49 < / AMOUNT_USD >
    XX CLIENT < client_name > < / client_name >
    < > 31159 ORDER_NUMBER < / ORDER_NUMBER >
    < CREATION_DATE > 27 August 12 < / CREATION_DATE >
    < LINE_NUMBER > 3 < / LINE_NUMBER >
    < ELEMENT > 90006873 < / ITEM >
    Gro < ITEM_DESCRIPTION > < / ITEM_DESCRIPTION >
    < ORDERED_QUANTITY >-1 < / ORDERED_QUANTITY >
    < UNIT_SELLING_PRICE > 1.49 < / UNIT_SELLING_PRICE >
    USD < CURRENCY > < / CURRENCY >
    < CONVERSION_RATE / >
    < SCHEDULE_SHIP_DATE / >
    < PAYMENT_TERMS > MOE + 30 < / PAYMENT_TERMS >
    < / G_ORDERS >
    -< G_ORDERS >
    < AMOUNT > - 118.26 < / AMOUNT >
    < AMOUNT_USD > - 118.26 < / AMOUNT_USD >
    XX CLIENT < client_name > < / client_name >
    < > 31159 ORDER_NUMBER < / ORDER_NUMBER >
    < CREATION_DATE > 27 August 12 < / CREATION_DATE >
    < LINE_NUMBER > 4 < / LINE_NUMBER >
    < ELEMENT > 10012296 < / ITEM >
    SFP < ITEM_DESCRIPTION > < / ITEM_DESCRIPTION >
    < ORDERED_QUANTITY >-2 < / ORDERED_QUANTITY >
    < UNIT_SELLING_PRICE > 59,13 < / UNIT_SELLING_PRICE >
    USD < CURRENCY > < / CURRENCY >
    < CONVERSION_RATE / >
    < SCHEDULE_SHIP_DATE / >
    < PAYMENT_TERMS > MOE + 30 < / PAYMENT_TERMS >
    < / G_ORDERS >
    -< G_ORDERS >
    < AMOUNT > 0 < / AMOUNT >
    < AMOUNT_USD > 0 < / AMOUNT_USD >
    XX CLIENT < client_name > < / client_name >
    < > 31159 ORDER_NUMBER < / ORDER_NUMBER >
    < CREATION_DATE > 27 August 12 < / CREATION_DATE >
    < LINE_NUMBER > 7 < / LINE_NUMBER >
    < ELEMENT > 10012296 < / ITEM >
    SFP < ITEM_DESCRIPTION > < / ITEM_DESCRIPTION >
    < ORDERED_QUANTITY >-1 < / ORDERED_QUANTITY >
    < UNIT_SELLING_PRICE > 0 < / UNIT_SELLING_PRICE >
    USD < CURRENCY > < / CURRENCY >
    < CONVERSION_RATE / >
    < SCHEDULE_SHIP_DATE / >
    < PAYMENT_TERMS > MOE + 30 < / PAYMENT_TERMS >
    < / G_ORDERS >
    -< G_ORDERS >
    < AMOUNT > - 440 < / AMOUNT >
    < AMOUNT_USD >-440 < / AMOUNT_USD >
    XX CLIENT < client_name > < / client_name >
    < > 31159 ORDER_NUMBER < / ORDER_NUMBER >
    < CREATION_DATE > 27 August 12 < / CREATION_DATE >
    < LINE_NUMBER > 1 < / LINE_NUMBER >
    < ELEMENT > 10011324 < / ITEM >
    SFP < ITEM_DESCRIPTION > < / ITEM_DESCRIPTION >
    < ORDERED_QUANTITY >-1 < / ORDERED_QUANTITY >
    < UNIT_SELLING_PRICE > 440 < / UNIT_SELLING_PRICE >
    USD < CURRENCY > < / CURRENCY >
    < CONVERSION_RATE / >
    < SCHEDULE_SHIP_DATE / >
    < PAYMENT_TERMS > MOE + 30 < / PAYMENT_TERMS >
    < / G_ORDERS >
    -< G_ORDERS >
    < AMOUNT > - 8.72 < / AMOUNT >
    < AMOUNT_USD > - 8.72 < / AMOUNT_USD >
    XX CLIENT < client_name > < / client_name >
    < > 31159 ORDER_NUMBER < / ORDER_NUMBER >
    < CREATION_DATE > 27 August 12 < / CREATION_DATE >
    < LINE_NUMBER > 5 < / LINE_NUMBER >
    < ELEMENT > 90023992 < / ITEM >
    VET < ITEM_DESCRIPTION > < / ITEM_DESCRIPTION >
    < ORDERED_QUANTITY >-2 < / ORDERED_QUANTITY >
    < UNIT_SELLING_PRICE > 4.36 < / UNIT_SELLING_PRICE >
    USD < CURRENCY > < / CURRENCY >
    < CONVERSION_RATE / >
    < SCHEDULE_SHIP_DATE / >
    < PAYMENT_TERMS > MOE + 30 < / PAYMENT_TERMS >
    < / G_ORDERS >
    -< G_ORDERS >
    < AMOUNT > 0 < / AMOUNT >
    < AMOUNT_USD > 0 < / AMOUNT_USD >
    XX CLIENT < client_name > < / client_name >
    < > 31159 ORDER_NUMBER < / ORDER_NUMBER >
    < CREATION_DATE > 27 August 12 < / CREATION_DATE >
    < LINE_NUMBER > 8 < / LINE_NUMBER >
    < ELEMENT > 10012997 < / ITEM >
    SF < ITEM_DESCRIPTION > < / ITEM_DESCRIPTION >
    < ORDERED_QUANTITY >-1 < / ORDERED_QUANTITY >
    < UNIT_SELLING_PRICE > 0 < / UNIT_SELLING_PRICE >
    USD < CURRENCY > < / CURRENCY >
    < CONVERSION_RATE / >
    < SCHEDULE_SHIP_DATE / >
    < PAYMENT_TERMS > MOE + 30 < / PAYMENT_TERMS >
    < / G_ORDERS >
    < / LIST_G_ORDERS >
    < / OPEN_SO >

    updated model passed check and let me know

  • Sorting in a group... Weird

    I have an existing rtf I try to change a bit for order data according to my needs new users...

    As a result, a sample of the XML for the report:
    <ROWSET>
       <ROW>
          <POOL>Ag</POOL>
          <PERF_NON_PERF>Performing</PERF_NON_PERF>
          <CSS_TAG>Normal</CSS_TAG>
          <CURRBAL>146218378.95</CURRBAL>
          <LOWVAL>76949700.35</LOWVAL>
          <HIGHVAL>98304577.9</HIGHVAL>
          <LOWPERCENT>52.63</LOWPERCENT>
          <HIGHPERCENT>67.23</HIGHPERCENT>
          <LOSSHIGHPERCENT>14.82</LOSSHIGHPERCENT>
          <LOSSLOWPERCENT>8.05</LOSSLOWPERCENT>
       </ROW>
       <ROW>
          <POOL>Ag</POOL>
          <PERF_NON_PERF>Non-Performing</PERF_NON_PERF>
          <CSS_TAG>Normal</CSS_TAG>
          <CURRBAL>15111004.81</CURRBAL>
          <LOWVAL>6384389.28</LOWVAL>
          <HIGHVAL>7809359.81</HIGHVAL>
          <LOWPERCENT>42.25</LOWPERCENT>
          <HIGHPERCENT>51.68</HIGHPERCENT>
          <LOSSHIGHPERCENT>42.96</LOSSHIGHPERCENT>
          <LOSSLOWPERCENT>29.98</LOSSLOWPERCENT>
       </ROW>
       <ROW>
          <POOL>Ag</POOL>
          <PERF_NON_PERF>Sub-Total</PERF_NON_PERF>
          <CSS_TAG>Bold</CSS_TAG>
          <CURRBAL>161329383.76</CURRBAL>
          <LOWVAL>83334089.63</LOWVAL>
          <HIGHVAL>106113937.71</HIGHVAL>
          <LOWPERCENT>51.65</LOWPERCENT>
          <HIGHPERCENT>65.77</HIGHPERCENT>
          <LOSSHIGHPERCENT>17.45</LOSSHIGHPERCENT>
          <LOSSLOWPERCENT>10.11</LOSSLOWPERCENT>
       </ROW>
    I have the report of Group on the pool and the perf_no_perf, which works very well, however, data are arrested in this order:

    Total part-time
    Show
    Not performing

    Users would prefer

    Show
    Not performing
    Total part-time


    Anyway I can change the existing rtf and make this change without losing all the formatting I did to get the look and feel as they wish?

    (I can send data rtf and sample on request)...

    Thank you

    Tony Miller
    Dallas, TX

    Check your Inbox.

  • How to sort time consecutive groups

    Hi all

    I use Oracle 10 on Windows 2003. I have the following table example
    create table test (t_date,t_name,t_value) as
    select to_date('2010-01-01:13:45','YYYY-MM-DD:HH24:MI') t_date, 't1' t_name, '20' t_value from dual union all
    select to_date('2010-01-01:13:46','YYYY-MM-DD:HH24:MI') t_date, 't1' t_name, '30' t_value from dual union all
    select to_date('2010-01-01:13:47','YYYY-MM-DD:HH24:MI') t_date, 't1' t_name, '40' t_value from dual union all
    select to_date('2010-01-01:13:48','YYYY-MM-DD:HH24:MI') t_date, 't1' t_name, '30' t_value from dual union all
    select to_date('2010-01-01:13:49','YYYY-MM-DD:HH24:MI') t_date, 't1' t_name, '30' t_value from dual union all
    select to_date('2010-01-01:13:50','YYYY-MM-DD:HH24:MI') t_date, 't1' t_name, '30' t_value from dual union all
    select to_date('2010-01-01:13:51','YYYY-MM-DD:HH24:MI') t_date, 't1' t_name, '30' t_value from dual union all
    select to_date('2010-01-01:12:45','YYYY-MM-DD:HH24:MI') t_date, 't2' t_name, '20' t_value from dual union all
    select to_date('2010-01-01:12:46','YYYY-MM-DD:HH24:MI') t_date, 't2' t_name, '30' t_value from dual union all
    select to_date('2010-01-01:12:47','YYYY-MM-DD:HH24:MI') t_date, 't2' t_name, '40' t_value from dual union all
    select to_date('2010-01-01:12:48','YYYY-MM-DD:HH24:MI') t_date, 't2' t_name, '30' t_value from dual union all
    select to_date('2010-01-01:12:49','YYYY-MM-DD:HH24:MI') t_date, 't2' t_name, '23' t_value from dual union all
    select to_date('2010-01-01:12:50','YYYY-MM-DD:HH24:MI') t_date, 't2' t_name, '33' t_value from dual union all
    select to_date('2010-01-01:12:51','YYYY-MM-DD:HH24:MI') t_date, 't2' t_name, '35' t_value from dual union all
    select to_date('2010-01-01:12:45','YYYY-MM-DD:HH24:MI') t_date, 't3' t_name, '20' t_value from dual union all
    select to_date('2010-01-01:12:46','YYYY-MM-DD:HH24:MI') t_date, 't3' t_name, '30' t_value from dual union all
    select to_date('2010-01-01:12:47','YYYY-MM-DD:HH24:MI') t_date, 't3' t_name, '40' t_value from dual union all
    select to_date('2010-01-01:12:48','YYYY-MM-DD:HH24:MI') t_date, 't3' t_name, '30' t_value from dual union all
    select to_date('2010-01-01:12:49','YYYY-MM-DD:HH24:MI') t_date, 't3' t_name, '23' t_value from dual union all
    select to_date('2010-01-01:12:50','YYYY-MM-DD:HH24:MI') t_date, 't3' t_name, '33' t_value from dual union all
    select to_date('2010-01-01:12:51','YYYY-MM-DD:HH24:MI') t_date, 't3' t_name, '35' t_value from dual union all
    select to_date('2010-01-02:13:45','YYYY-MM-DD:HH24:MI') t_date, 't1' t_name, '20' t_value from dual union all
    select to_date('2010-01-02:13:46','YYYY-MM-DD:HH24:MI') t_date, 't1' t_name, '30' t_value from dual union all
    select to_date('2010-01-02:13:47','YYYY-MM-DD:HH24:MI') t_date, 't1' t_name, '40' t_value from dual union all
    select to_date('2010-01-02:13:48','YYYY-MM-DD:HH24:MI') t_date, 't1' t_name, '30' t_value from dual union all
    select to_date('2010-01-02:13:49','YYYY-MM-DD:HH24:MI') t_date, 't1' t_name, '30' t_value from dual union all
    select to_date('2010-01-02:13:50','YYYY-MM-DD:HH24:MI') t_date, 't1' t_name, '30' t_value from dual union all
    select to_date('2010-01-02:13:51','YYYY-MM-DD:HH24:MI') t_date, 't1' t_name, '30' t_value from dual;
    I would like to create a query that will give the following results
    t_name      start_t                        end_t                         start_value     end_value 
    t1     2010-01-01 13:45     2010-01-01 13:51          20                30
    t1     2010-01-02 13:45     2010-01-02 13:51          20                30
    t2     2010-01-01 12:45     2010-01-01 12:51          20                35
    t3     2010-01-01 12:45     2010-01-01 12:51          20                35
    so I tried to create a query based on what I read in the forums (method Tabibitosan by Aketi Jyuuzou tutorial I wanted to get the start_t and the end_t first of all, just because I'm not familiar with this, so it's the request I created first. I did add the start_value and the end_value when I got this job
    select t_name, to_char(min(t_date),'YYYY-MM-DD HH24:MI') start_t,to_char(max(t_date),'YYYY-MM-DD HH24:MI') end_t
    from(select t_date,t_name,
          dense_rank() over(order by t_date)
          -Row_Number() over(partition by t_name order by t_date)
          as distance
          from test)
    group by t_name,distance
    order by t_name,min(t_date)
    but my result is
    t1     2010-01-01 13:45     2010-01-02 13:51
    t2     2010-01-01 12:45     2010-01-01 12:51
    t3     2010-01-01 12:45     2010-01-01 12:51
    So I wonder what Miss me in my request to give the results that I need? Any help would be appreciated.

    See you soon

    This will help:

    SQL> select distinct
      2         first_value(t_date) over (partition by t_name, trunc(t_date)) as first_date
      3        ,first_value(t_value) over (partition by t_name, trunc(t_date)) as first_value
      4        ,last_value(t_date) over (partition by t_name, trunc(t_date)) as last_date
      5        ,last_value(t_value) over (partition by t_name, trunc(t_date)) as last_value
      6        ,last_value(t_name) over (partition by t_name, trunc(t_date)) as t_name
      7  from test
      8  /
    01/01/2010 13:45:00 20 01/01/2010 13:51:00 30 t1
    01/01/2010 12:46:00 30 01/01/2010 12:45:00 20 t2
    01/01/2010 12:50:00 33 01/01/2010 12:51:00 35 t3
    02/01/2010 13:50:00 30 02/01/2010 13:45:00 20 t1
    

    Add in the order by!

  • DISPLAY the Menu SORT BY & GROUP BY in WINDOWS 7 ULTIMATE

    I am interested in learning all about the different boxes in sort it by and Group dialog boxes view - sort in view-group of Windows 7 Ultimate help could have details, but help text fonts are 6-8 or 9-why only officials at Microsoft Corp. know

    I am looking for more information about the dialog boxes for Fort - more Group By - more

    Please consider adding personalization of Windows themes

    After you change the Sort by or Group by folder view settings in a library, you can restore the library in it's default Sort by or Group by folder view by clicking on the revamp by drop-down list on the toolbar (top-right) and clicking Cancel changes.

    If Undo changes don't is not on the list, the library is already set to be seen by its default view Sort by or Group by folder.

    EXAMPLE: "group by" and "sort by" in Windows Explorer
    NOTE: These screenshots, use the column name to "group by" and "sort by". What you see in your window will also depend on what you have the model file and set as .

    OPTION ONE

    Change "sort by" and "group by" view by using the View Menu

    1. open the Windows Explorer folder or library window you want to change the size of icons in the view.

    2 click themenu bar displayitem and select options that arrangement either Sort By or Group by , then select a columnname and ascending or descending for how you want the window arranged by. (See screenshots below)
    NOTE: The names of columns in the view menu bar depend on what you have the model file fixed. You can also click on more to add several options of name of column.

    SECOND OPTION

    Change "sort by" and "group by" view by using the column headers

    Note
    The sort and Group at the top and the option of the stack by down are no longer available in the final Windows 7 RTM. Please their contempt in the screenshots.

    1. open the Windows Explorer folder or library window you want to change the size of icons in the view.

    2. to sort or group by the column headings name Menu

    (A) move your mouse pointer on the name of column that you want to have the organized window items by, and then click the arrow to the right. (See the screenshots below step 3)

    (B) you can now select to Sort by or Group by window by that name of column headers. (See screenshots below)
    NOTE: What you see in your window will also depend on what you have the model file and set as.

    OR

    3. to select to arrange by column name headers
    NOTE: This will allow you to change quickly of name of column titles window is organized by with always using the Sort By or Group By setting that you set in step 2 or ONE OPTION above.

    (A) click on the column header name. (See the screenshots below step 2)
    NOTE: Any name of column headers from the triangle , is one that is organized by the window.

    (B) click on the same column header name until you have the Ascending or Descending order you want. (See the screenshots below step 2)
    NOTE: When the triangle in the name of column headings is directed upwards, then it goes down. If the triangle in the name of column headings is directed downwards, then it is ascending.

    OPTION THREE

    To change to "be represented by" view folders in the libraries

    Note
    Reorganize by is only available in the folders in the library . The Arrange by options vary according to the model of folder in the library folder. All the included files and subfolders in a library will always share the same point of view of folder. You are able to have separate "reorganize by ' display the parameters in each added right-click-> New-> folder created in the library itself however.

    • The Windows search Service must be on Automatic and started to make this option work.
    • Disabling the index in Windows 7 you will be not be able to use reorganize by inlibraries.

    1. open the library folder that you want to change the display of reorganize by files.

    2 click themenu bar displayitem and select reorganize by and the option to use the files in the folder library arranged. (See screenshot below)

    OR

    3 click the toolbar option of reorganize by , then select reorganize by and the drop down menu the menu option for how you want the files in the folder library arranged. (See screenshot below)

    4 all included files in the library will now even reorganize by fixed for these institutions. The library will always open with the same setting of reorganize by he had during its last closure.

    That's right, Source: http://www.sevenforums.com/tutorials/3952-file-folder-arrangement-group-sort-arrange.html

  • the creative group in the stages of sort selection

    Hi all

    I created a new group that has two values 'Y', ' don't. While displaying the column in the default response to put all the values at the end, event, I tried to do the sort will sort fair value Y and N, but not all. I don't see any options to sort the new group in stages of selection. Any ideas.

    Y                  N

    N                  Y

    All all

    Desired display

    All the

    N

    THERE

    Thank you

    Sushil

    If it's your custom group and then set this group in order by clause

    who should take care of it.

  • How to sort, group, this xdoxslt of use?

    Dear all,

    I have the group by month:

    <? for-each-group@section:EeventsParentEvent; (xdoxslt:get_month (xdoxslt:format_date(StartDate,'yyyy-mm-dd','mm/dd/yyyy',$_XDOLOCALE,$_XDOTIMEZONE), $_XDOLOCALE))? >

    per week:

    <? for each group: (current-group); (xdoxslt:ora_format_date (xdoxslt:format_date(EventVenueStartDate,'yyyy-mm-dde)
    ((("mm/dd/yyyy", $_XDOLOCALE, $_XDOTIMEZONE), 'W'))? >

    then tried to sort because the Group has yet to sort

    <? sorting: current-group; (xdoxslt:ora_format_date (xdoxslt:format_date(EventVenueStartDate,'yyyy-mm-dd','mm/dd/yyyye)
    ((($_XDOLOCALE, $_XDOTIMEZONE), 'W')), 'Crescent', data of type = "text"? > error-> see the

    My syntax is wrong?
    because I didn't know which formula you want to use

    appreciate any help

    Concerning

    Cecilia

    I find not all wrong in this sort code.
    To sort on the week, you can use type number, although it works as a text too (in this case)

  • Mac numbers - placed link to images in a cell?

    If I drop an image on a page, not in a cell, can I associate this image with the cell in another worksheet? In addition, drop of images in the cells do not seem to do anything except appear as a tiny thumbnail. Is that the best numbers only with images in the cells?

    Hi Bruce,.

    These discussions can help.

    Cannot sort column with images in figures

    Sorting by a column of numbers with pictures

    Please answer the questions if these discussions do not help.

    Kind regards

    Ian.

  • Is it possible to sort messages in WLM by more than one field at a time?

    Sort messages in Windows Live Mail

    As the help "?" button in the desktop app Windows Live Mail is no help whatsoever *, after much research I landed at MS Answers. Hope someone here can answer what I believe is a simple enough question, although well beyond the capabilities of the foregoing under construction using WLM... Here goes-

    Is it possible to sort messages in WLM by more than one field at a time?

    If I sort my messages received by the field 'From' - by clicking on the field header (whenever you click the header, it changes to alphabetical, reverse alphabetical order) - by default each group of messages from the same sender are listed in order by date/time, earlier at the latest, from top to bottom (opposed to the default order when the messages are sorted by date and time upon arrival which puts the last (most recent) mail messages has received at the top). After you sort messages by sender, is it possible to then sort these messages grouped by date, with the newest messages at the top of the list?

    * Is there a procedure/channel "correct" to say Microsoft's help on the web for MS Office & other apps - like Windows Live Mail - how useless? In the interest of Microsoft, this gap & go back to the built-in Office 2000 help, etc., with an option to get help online, i.e. through the Forums, if the system cannot answer your question.

    Hello UKdeejay,

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.

  • Sort by date does not account for the year

    When I sort the files by modification date he considers only the month and date. The year is ignored, causing very old files appear on the top, for example

    2007-12-14

    02/10/2010

    2008-09-30

    01/05/2009

    Are you in the files by computer / disk / folder or you use a shortcut to get the file?  Shortcuts sometimes do not function correctly, but it generally works very well if you sort starting with the link to the computer (I have just last week took a thread with the same question, and that is the resolution).

    Click the down arrow next to the update and then click on the Group and it will sort chronologically in groups: maybe the option will work.  Painful modified Date works fine on my system, first for files separately and then for files separately.

    I hope that this workaround works for you.  Otherwise (or you do not like the solution even if it works), after return and we will make a troubleshooting complete diagnosis to try to identify the problem and solve it.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to send SMS to an individual or a list of numbers?

    Hello

    I want to send SMS to a particular number or group of numbers. As I had somehow in this link below: Send SMS text Messages

    I tried with it. But after sending the sms, it is not getting on the particular number. Means, that it is not delivering. I wrote the below codes:

              if (field == mCbSaveContact)
            {
                       sendSms();
                    }
    
     private void sendSms() {
        // TODO Auto-generated method stub
    
             UiApplication.getUiApplication().invokeLater(new Runnable()
                {
    
                    public void run() {
    
                        DatagramConnection dgConn;
                        try {
                            dgConn = (DatagramConnection)Connector.open("sms://9014409192");
                            byte[] data = "Test Message".getBytes();
                            Logger.out("AddContact","data value");
                            Datagram dg = dgConn.newDatagram(dgConn.getMaximumLength());
                            dg.setData(data, 0, data.length);
                            Logger.out("AddContact","after setting the data");
                            dgConn.send(dg);
                            Logger.out("AddContact","Sending SMS success !!!");
                        } catch (IOException e) {
                            // TODO Auto-generated catch block
                            e.printStackTrace();
                        }
                            }
                   });
    

    Help, please...

    invokelater isn't a thread and everything that the blocks should be on a separate thread.
    http://supportforums.BlackBerry.com/T5/Java-development/what-is-the-event-thread/Ta-p/446865

Maybe you are looking for