Det betyder bara att MySQL insisterar på att du ger den inre SELECT
ett namn, som:
SELECT MAX(counted) FROM
(
SELECT COUNT(*) AS counted
FROM table_actions
WHERE status = "good"
GROUP BY user
) AS counts;
Det betyder bara att MySQL insisterar på att du ger den inre SELECT
ett namn, som:
SELECT MAX(counted) FROM
(
SELECT COUNT(*) AS counted
FROM table_actions
WHERE status = "good"
GROUP BY user
) AS counts;