1
0
mirror of synced 2025-01-18 06:21:40 +03:00
flip111 76fda9562c Update SqlWalker.php fixed wrong GROUP BY clause on SQL Server platform
Without this patch a query would like like:
```
SELECT c0_.Country AS sclr0
FROM Continent c0_ WITH (NOLOCK)
WHERE c0_.Country = 38
GROUP BY sclr0
```
Using the column alias in the GROUP BY clause. However this is not allowed on SQL Server. References:
1. http://stackoverflow.com/a/3841804
2. http://technet.microsoft.com/en-us/library/ms189499.aspx (Logical Processing Order of the SELECT statement)

The correct query should be:
```
SELECT c0_.Country AS sclr0
FROM Continent c0_ WITH (NOLOCK)
WHERE c0_.Country = 38
GROUP BY c0_.Country
```
2013-09-26 14:11:56 +02:00
..
2013-07-29 10:46:47 -04:00
2013-04-06 14:31:27 +00:00
2013-04-06 14:31:27 +00:00
2013-07-30 12:11:08 -04:00
2013-06-14 12:07:28 -04:00
2013-07-29 10:46:47 -04:00
2013-07-29 10:46:47 -04:00
2013-03-11 00:08:58 +00:00
2012-12-13 18:19:21 +00:00
2013-03-11 00:08:58 +00:00
2013-03-11 00:08:58 +00:00
2013-06-07 17:24:05 -04:00
2013-05-27 21:47:16 +02:00

The file is empty.