I need an Access SQL query to count the number of times someone attended a class.....
So I have a table that has 10 week fields, (ex:week1,week2,week3,etc)
If a student attended during that week, there is a date in that field.
For each student, I need to know how many weeks they attended a class. If they did not attend a class any particular week that field will be null(blank)
So for example, Student ID 1 - if they attended 7 out of the 10 weeks, I would like to display the student ID and the count of weeks they attended
Please help me devise this query?