SELECT class.Name , COUNT(student.name),avg(Marks.marks) as average_mark
From class
INNER JOIN student on class.Fields_ID = student.Fields_ID
INNER JOIN marks on marks.Fields_ID = student.Fields_ID
GROUP BY class.Name;
SELECT class.Name , COUNT(student.name),avg(Marks.marks) as average_mark
From class
INNER JOIN student on class.Fields_ID = student.Fields_ID
INNER JOIN marks on marks.Fields_ID = student.Fields_ID
GROUP BY class.Name;
SQLエラー:#1064mysqlを使用してplsqlで関数を作成する場合 PHP-STR_TO_DATE更新日時列を使用していますが、0000-00-0000:00:00のような空のレコードが更新されています