+ Reply to Thread
Results 1 to 2 of 2

Group data and pick a particular row based on a condition

Hybrid View

Guest Group data and pick a... 08-22-2006, 02:00 PM
Guest RE: Group data and pick a... 08-22-2006, 02:25 PM
  1. #1
    VishalBade
    Guest

    Group data and pick a particular row based on a condition

    Program Name Program Type PIR Cycle#
    CE1 Customer Experience 1
    CE1 Customer Experience 2
    F1 Function 1
    PP1 Platform Program 1

    I have to group by ProgramName+Program Type and then pick the row with the
    max of PIR Cycle# column value

    Thanks in advance


  2. #2
    VishalBade
    Guest

    RE: Group data and pick a particular row based on a condition

    What i can do is Sort by ProgramName+programtype+PIR Cycle#(Desc) and then
    loop thru all the rows and pick the first occurance. I want to know if there
    is any better way of doing this.

    Thanks Again

    "VishalBade" wrote:

    > Program Name Program Type PIR Cycle#
    > CE1 Customer Experience 1
    > CE1 Customer Experience 2
    > F1 Function 1
    > PP1 Platform Program 1
    >
    > I have to group by ProgramName+Program Type and then pick the row with the
    > max of PIR Cycle# column value
    >
    > Thanks in advance
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1