SqlConnection^ cond = gcnew SqlConnection(L"Data Source=localhost;Initial Catalog=vagifd;Integrated Securitygcnew SqlCommand("select * from dbo.students order by name asc;", cond);
如果我把它计算为和(quer.score)/count(quer.score),它也会返回所有的零。提前感谢!SELECT quer.month, quer.item_type, SUM(quer.score) AS sum_values,COUNT(quer.score) as count_values, avg(quer.score) as final_value FROM (CASE
WHEN MONTH(inte.da