R
Ripper
I have a query that worked fine in access, but when I upsized it to SQL 2000
I get this error message that says a colmn(day) is invalid because it is not
contained in either an aggregate function or the Group BY clause. Here is
the SQL view of the query.
SELECT qryDaysAdvance.TheDate, Count(*) AS NumOf
FROM tblIssIn, qryDaysAdvance
WHERE (((qryDaysAdvance.TheDate) Between [StartDate] And [EndDate]))
GROUP BY qryDaysAdvance.TheDate
ORDER BY qryDaysAdvance.TheDate;
The query counts students who are in ISS by looking if their assignment is
during the current and future dates. It then provides a count of students by
date up to 40 days from the current date. It works perfectly in Access.
Anyone know how to fix this? I am trying to SQL 2000 to make this work.
I get this error message that says a colmn(day) is invalid because it is not
contained in either an aggregate function or the Group BY clause. Here is
the SQL view of the query.
SELECT qryDaysAdvance.TheDate, Count(*) AS NumOf
FROM tblIssIn, qryDaysAdvance
WHERE (((qryDaysAdvance.TheDate) Between [StartDate] And [EndDate]))
GROUP BY qryDaysAdvance.TheDate
ORDER BY qryDaysAdvance.TheDate;
The query counts students who are in ISS by looking if their assignment is
during the current and future dates. It then provides a count of students by
date up to 40 days from the current date. It works perfectly in Access.
Anyone know how to fix this? I am trying to SQL 2000 to make this work.