You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$conn = new mysqli("127.0.0.1", "root", "", "project_test");
$result = $conn->query("SELECT COUNT(*) AS NumberofStudents,c.CourseID AS CourseID,CourseName FROM course c JOIN student_course s ON c.CourseID = s.CourseID GROUP BY c.CourseID;");