Bug #82664
closedWorkspaces: MSSQL cannot GROUP BY aliased column
100%
Updated by Gerrit Code Review about 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54281
Updated by Oliver Hader about 7 years ago
Sidenote: On MSSQL SELECT
is processed after GROUP BY
- that's the reason alias names cannot be used here.
Updated by Susanne Moog about 7 years ago
To be complete ;)
DBMS evaluate statements in the following order:
FROM
WHERE
GROUP BY
HAVING
SELECT
ORDER BY
DBMS with additional logic may be able to resolve aliases set in SELECT in other parts already, but to be safe we should write statements as though there is no additional logic.
Updated by Gerrit Code Review about 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54308
Updated by Anonymous about 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 6b13e12b95e64816bf835927140f84725e50e377.
Updated by Oliver Hader about 7 years ago
- Related to Task #82811: Extend WorkspaceServiceTests for fetchPagesWithVersionsInTable added