Say I have a table with two columns that matter to this example,
[PointNumber] and [SurveyDate]. And here is an example of what the rows
currently look like:
[PointNumber], [SurveyDate]
1,6/27/2001
1,6/27/2001
1,5/31/2001
2,6/27/2001
2,6/30/2001
2,5/31/2001
I want a query that will return PointNumber and the number of surveys (ie.
how many different dates are in the table for each point). For the example
above, the query should output:
[PointNumber], [NumberOfSurveys]
1,2
2,3
I'd appreaciate any assistance. This seems like it would be simple but I
don't know how to do it.
[PointNumber] and [SurveyDate]. And here is an example of what the rows
currently look like:
[PointNumber], [SurveyDate]
1,6/27/2001
1,6/27/2001
1,5/31/2001
2,6/27/2001
2,6/30/2001
2,5/31/2001
I want a query that will return PointNumber and the number of surveys (ie.
how many different dates are in the table for each point). For the example
above, the query should output:
[PointNumber], [NumberOfSurveys]
1,2
2,3
I'd appreaciate any assistance. This seems like it would be simple but I
don't know how to do it.
Comment