Is there some other field in the table? You're going to need a correlated query in order to compare Grade1 to Grade 2 within the same record. Maybe a student ID field or something?
Leslie
Anything worth doing is a lot more difficult than it's worth - Unknown Induhvidual
And just as an FYI, storing two grades like this in a single record breaks normalization rules. If possible you should reconsider your design, read the Fundamentals document for more information on normalization.
The data are imported from another application. Both grades are contained in a single record in that application. Actually, the application, itself, is supposed to return the highest score on any exam taken, but it doesn't appear to be doing so. As a result, I have to program around it. I was looking for something similar to
high grade = maximum(grade1, grade2)
which is available in other applications (e.g., SAS).
more generically, search these fora for basMaxVal. A number of simple aggregate fumctioms of this type are availanble trtoughout the fora and these is a faq which consolidates many of them.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.