Hello!
I have the below query that groups all courses with a count of less than 20 together and calls them 'Others'
SELECT IIf([CountOfCourse Name]<20,"Other",[Course Name]) AS Course, Sum([sub1-5].[CountOfCourse Name]) AS CourseTotal
FROM [sub1-5]
GROUP BY IIf([CountOfCourse Name]<20,"Other",[Course Name]);
I want this query to also do some other grouping.....In addition to the above I want it to also group any course names A and B and C together and call them 'ROPAX Courses', additionally I'd like it to also group Z and X and Y and call them 'Basic Training'
I've tried a few things and just cannot make it happen.....any ideas :banghead:
Thanks in advance!
I have the below query that groups all courses with a count of less than 20 together and calls them 'Others'
SELECT IIf([CountOfCourse Name]<20,"Other",[Course Name]) AS Course, Sum([sub1-5].[CountOfCourse Name]) AS CourseTotal
FROM [sub1-5]
GROUP BY IIf([CountOfCourse Name]<20,"Other",[Course Name]);
I want this query to also do some other grouping.....In addition to the above I want it to also group any course names A and B and C together and call them 'ROPAX Courses', additionally I'd like it to also group Z and X and Y and call them 'Basic Training'
I've tried a few things and just cannot make it happen.....any ideas :banghead:
Thanks in advance!