dhhokom you're a genious.
Many many thanks mate, I can't thank you enough. I've never used nested SELECT statements within SELECT statements like this. I'll have to learn how to do them.
Would you say this was a fairly complex query then? Because I thought I knew a lot about queries etc. but...
Please, please can you tell me the solution I have exactly the same problem my data is attached for info. Basically the records are sorted by YEar and Term (SP = Spring, SU = Summer, AU = Autumn) but I need the counter to reset after each pupil (When the UPN changes) as shown in the highlighted...
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.