Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 156 [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'GROUP'. (SQLExecute[156] at ext\pdo_odbc\odbc_stmt.c:254)' in D:\php_framework\common\lib\database.lib.php:123 Stack trace: #0 D:\php_framework\common\lib\database.lib.php(123): PDO->query('SELECT MAX(Desi...') #1 D:\websites\davisfurniture.com\apps\designer.php(4): fetch_row('SELECT MAX(Desi...', 2) #2 D:\websites\davisfurniture.com\www\index.php(114): include('D:\websites\dav...') #3 {main} thrown in D:\php_framework\common\lib\database.lib.php on line 123