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].MARKSFROM [EXAMINATION RECORDS]WHERE ((([EXAMINATION RECORDS].SUBJECTID) In (SELECT TOP 5 [SUBJECTID]FROM [EXAMINATION RECORDS] ERWHERE ER.[STUDENT EXAM NO] = [EXAMINATION RECORDS].[STUDENT EXAM NO]AND SUBJECT <> "MATH"ORDER BY MARKS DESC, SUBJECT))) OR ((([EXAMINATION RECORDS].SUBJECT)="MATH"));
__._,_.___
Posted by: crystal 8 <strive4peace2008@yahoo.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (2) |
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