Det betyder bare, at MySQL insisterer på, at du giver den indre SELECT
et navn, såsom:
SELECT MAX(counted) FROM
(
SELECT COUNT(*) AS counted
FROM table_actions
WHERE status = "good"
GROUP BY user
) AS counts;
Det betyder bare, at MySQL insisterer på, at du giver den indre SELECT
et navn, såsom:
SELECT MAX(counted) FROM
(
SELECT COUNT(*) AS counted
FROM table_actions
WHERE status = "good"
GROUP BY user
) AS counts;