Rabu, 05 Desember 2018

Re: [MS_AccessPros] BEST EIGHT SUBJECTS

 

Hi Crystal, these are all personal questions you are asking outside the scope of the issue at stake and the objective of the forum. If you are able to help with the code all well. If not, I believe someone else will in their time. The code below was given by Duanne without much ado.


Thanks.

Ade

On Wednesday, 5 December 2018, 00:27:06 GMT, crystal 8 strive4peace2008@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:


 

is this for a school assignment? If so, what is your major, and why are you learning Access? Otherwise, what is the purpose to get this information?

thanks,
crystal

On 12/4/2018 5:59 PM, Adeboyejo Oyenuga aoye_99@yahoo.co.uk [MS_Access_Professionals] wrote:
Dear Pros,

kindly suggest modification to the SQL below, if I intend to select the best eight subjects and Math, CSPE, Greek and English are compulsory among the eight.


Thanks.

Ade




SELECT [EXAMINATION RECORDS].STUDENTID, [EXAMINATION RECORDS].[STUDENT EXAM NO], [EXAMINATION RECORDS].SUBJECT, [EXAMINATION RECORDS].MARKS
FROM [EXAMINATION RECORDS]
WHERE ((([EXAMINATION RECORDS].SUBJECTID) In (SELECT TOP 5 [SUBJECTID]
FROM [EXAMINATION RECORDS] ER
WHERE ER.[STUDENT EXAM NO] = [EXAMINATION RECORDS].[STUDENT EXAM NO]
AND SUBJECT <> "MATH"
ORDER BY MARKS DESC, SUBJECT))) OR ((([EXAMINATION RECORDS].SUBJECT)="MATH"));

Virus-free. www.avast.com

__._,_.___

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 (3)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


SPONSORED LINKS
.

__,_._,___

Tidak ada komentar:

Posting Komentar