Not a PHP problem, it's a MySQL problem
| From: | James Meers | Date: | Tue, 18 Jun 2002 17:05:50 +0000 |
| Subject: | Not a PHP problem, it's a MySQL problem | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-14275@lists.php.net to get a copy of this message | ||
Sorry, its not a PHP problem, it's a MySQL problem.....
I am trying to do a MySQL query below:
select top 10 * from table order by record_number desc
However, I am getting the following error:
You have an error in your SQL syntax near '10 * from table order by record_number desc' at
line 1