Small prob in access

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Small prob in access

    Hello

    I was wondering if you guys could help me with this simple one

    I have a Results table with Teams and their points. And i want to find out
    the teams rank.


    Team Points Player
    A 1 AA
    A 4 AB
    A 2 AC
    B 5 BB
    B 5 BC
    C 4 CC


    would like to have the following result

    Team Rank
    B 1
    A 2
    C 3


    or just

    Team
    B
    A
    C

    and i'll use a counter in my asp-page that prints out 1,2,3..... infront of
    the teams names

    TIA
    /Lasse


    Lasse Edsvik Guest

  2. Similar Questions and Discussions

    1. Please help me: Prob: XML - SWF - update
      Hi! I need help! I have some XML-Data loaded via XML-Connector and a DataSet into a Datagrid. If you click a row in the Datagrid, an other...
    2. Strange prob
      Hello, I have a datagrid which I has the ability to update the records. Above the dg I have a textbox 2 validators and a submit button. Now the...
    3. PROB!PLEASE HELP
      Hi all, When I test my flashmx2004 videoconf. application it just very briefly shows the login menu and the it stops and nothing is displayed....
    4. AS2.0 prob
      Ok, i've got a method in my vector class for multiplying a matrix by a vector Problem is no matter what vector I pass it, it always comes up <0,0,0>...
    5. [PHP] newbY prob
      Where is $dbqueryshipping1 set? I see $bdquerymeal, but not $dbqueryshipping1.
  3. #2

    Default Re: Small prob in access

    Lasse Edsvik wrote:
    > Hello
    >
    > I was wondering if you guys could help me with this simple one
    >
    > I have a Results table with Teams and their points. And i want to
    > find out the teams rank.
    >
    >
    > Team Points Player
    > A 1 AA
    > A 4 AB
    > A 2 AC
    > B 5 BB
    > B 5 BC
    > C 4 CC
    >
    >
    > would like to have the following result
    >
    > Team Rank
    > B 1
    > A 2
    > C 3
    >
    >
    > or just
    >
    > Team
    > B
    > A
    > C
    >
    > and i'll use a counter in my asp-page that prints out 1,2,3.....
    > infront of the teams names
    >
    > TIA
    > /Lasse
    Select Team From Results
    Group By Team
    Order By Sum(Points) DESC

    HTH,
    Bob Barrows

    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.


    Bob Barrows Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139