Can someone explain how the working group + + + restriction works? MySQL query:
SELECT
id,
avg(sal)
FROM
StreamData
WHERE
...
GROUP BY
id
HAVING
avg(sal)>=10.0
AND avg(sal)<=50.0
LIMIT 100
A request without restrictions and availability of offers is executed within 7 seconds, with a restriction - instantly, if the condition covers a large amount of data or ~ 7 seconds otherwise. The documentation says that the limit is executed after that after the group, this means that the request should always be executed within ~ 7 seconds. Please help figure out what is limited by the LIMIT clause.
source
share