Ade,
Something like this might work but I don't see either a primary key or something resembling a student ID number.
Again, please type []s around object names that contain spaces or symbols.
Sent: Friday, March 23, 2018 2:15 PM
To: Duane Hookom duanehookom@hotmail.com [MS_Access_Professionals]
Subject: Re: [MS_AccessPros] Re: BEST SIX SUBJECTS
Ade,
I'm confused by your previous remarks "i know you do not like the excel format of tabulation' which I assume is my normal soap box regarding normalizing table structures while your current email suggests the table seems normalized.
So you have a table named [pls see below] with only three fields: [STUDENT EXAM NO], SUBJECT, and MARKS? (sorry, it is Friday afternoon)
Notice how I have taken the time to wrap any field name with spaces in []s for clarity.
Regards,
Duane
Sent: Friday, March 23, 2018 1:31 PM
To: Duane Hookom duanehookom@hotmail.com [MS_Access_Professionals]
Subject: Re: [MS_AccessPros] Re: BEST SIX SUBJECTS
STUDENT EXAM NO | SUBJECT | MARKS |
1 | Maths | 70 |
1 | English | 85 |
1 | Science | 81 |
1 | History | 90 |
1 | Chemistry | 64 |
1 | Biology | 91 |
1 | Agric | 72 |
1 | Physics | 50 |
1 | Music | 68 |
1 | Greek | 72 |
Ade,
Again "Can you provide actual table and field names?"
Duane
Sent: Friday, March 23, 2018 11:00 AM
To: Duane Hookom duanehookom@hotmail.com [MS_Access_Professionals]
Subject: Re: [MS_AccessPros] Re: BEST SIX SUBJECTS
Exam No | Maths | English | Science | History | Chemistry | Biology | Agric | Physics | Music | Greek |
1 | 70 | 85 | 81 | 90 | 64 | 91 | 72 | 50 | 68 | 72 |
Hi Ade,
Is there a StudentID in your table/query? I assume you would like a query that returns for each student their math mark as well as their top five subjects by mark excluding math.
How would you handle ties?
Can you provide actual table and field names?
Here is a query from the Northwind Orders table that displays the top 3 orders for each customer by Freight:
Regards,
Duane
Sent: Friday, March 23, 2018 10:08 AM
To: wrmosca@comcast.net [MS_Access_Professionals]
Subject: Re: [MS_AccessPros] Re: BEST SIX SUBJECTS
Ade - what determines the 6 "best" subjects?
---In MS_Access_Professionals@yahoogroups.com, <aoye_99@yahoo.co.uk> wrote :
S/NO | SUBJECT | MARKS | |
1 | Maths | 70 | |
2 | English | 85 | |
3 | Science | 81 | |
4 | History | 90 | |
5 | Chemistry | 64 | |
6 | Biology | 91 | |
7 | Agric | 72 | |
8 | Physics | 50 | |
9 | Music | 68 | |
10 | Greek | 59 | |
Sum of Best Six Marks | 489 | ||
Posted by: Adeboyejo Oyenuga <aoye_99@yahoo.co.uk>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (15) |
Tidak ada komentar:
Posting Komentar