max min question
- From: "Jeff" <gig_bam@xxxxxxxxxxxx>
- Date: Tue, 19 Apr 2005 17:06:47 -0400
Is there a way to achieve this?
In a DB I have fields named
username
rd1
rd2
rd3
rd4
rd5
rd6
total
each rd is a score that is entered from form going to an asp page. that asp
page updates the total.
I would like to be able to get a max and min for each username. i know how
to geta max or min of a field, but with this, i want to be able to get it
across the row..not down the column. short of using array's..is this
possible?
Let me give example
say username is TOM
the db would look like this
username rd1 rd2 rd3 rd4 rd5 rd6 total
TOM 75 69 72 65 68 70 416
so i want a script that would tell me the max is 75 and the min is 65
Can anyone help here??
TIA
Jeff
.
- Follow-Ups:
- Re: max min question
- From: Chris Hohmann
- Re: max min question
- From: Bob Barrows [MVP]
- Re: max min question
- Prev by Date: Re: where I have mistake?
- Next by Date: Re: max min question
- Previous by thread: error '80040e21', String data, right truncation when append large
- Next by thread: Re: max min question
- Index(es):
Relevant Pages
|
Loading