使用Apache 2.4.23升级我的wampserver 3.0.6 - PHP 5.6.25 - MySQL 5.7.14 PHP 5.6.25 GROUP BY sql语句将无效。
例如:
$query ="SELECT * FROM `activity_list` GROUPED BY `Category`;"; //- NOT WORKING
$query ="SELECT * FROM `activity_list`;"; //- WORKS FINE.
由于
答案 0 :(得分:1)
我认为是.. GROUP BY
:试试这个
$query ="SELECT * FROM activity_list GROUP BY Category;";