Hey,
I'm working on a database project for class and am having a problem with a statement I need to make. I first did this in SQL and it worked fine, but it doesn't work in Access.
I want to count the number of unique instructors (for example) that I have in a column. For sql server I did this:
COUNT (DISTINCT tblinstructor.id) as numberofinstructors
But in access that does not work, but I can just do the COUNT without the DISTINCT statement. Is there anyway around this?
Thanks.
I'm working on a database project for class and am having a problem with a statement I need to make. I first did this in SQL and it worked fine, but it doesn't work in Access.
I want to count the number of unique instructors (for example) that I have in a column. For sql server I did this:
COUNT (DISTINCT tblinstructor.id) as numberofinstructors
But in access that does not work, but I can just do the COUNT without the DISTINCT statement. Is there anyway around this?
Thanks.