マイクエリはインナーを使用して、エラーを取得する
$con=mysqli_query($sql,"(SELECT Church Name, Class, Student Name, Mark FROM Church_details INNER JOIN Class_details ON Church_details.Church id=Class_details.Church id GROUP BY Class ORDER BY Student Name)")
に参加私はこのようなエラーを取得しています:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'id=Class_details.Church id GROUP BY Class ORDER BY Student Name)' at line 1
Class_details.Church番号<ということである - これは問題です。それらは2つの言葉です。 – briankip