string classIdQuery = " SELECT info.Students.ClassId,COUNT(Students.ClassId) as total FROM info.Students GROUP BY info.Students.ClassId ORDER BY total desc; ";