Това просто означава, че MySQL настоява да дадете вътрешния SELECT
име, като:
SELECT MAX(counted) FROM
(
SELECT COUNT(*) AS counted
FROM table_actions
WHERE status = "good"
GROUP BY user
) AS counts;
Това просто означава, че MySQL настоява да дадете вътрешния SELECT
име, като:
SELECT MAX(counted) FROM
(
SELECT COUNT(*) AS counted
FROM table_actions
WHERE status = "good"
GROUP BY user
) AS counts;