Peter Eternal Designs
Phil Bitis wrote:
Yeah, put LIMIT 20 on the end.
----- Original Message ----- From: "Jim McAtee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 14, 2003 11:12 PM Subject: SELECT TOP
What's wrong with the following query? The application used to use Accessvia
ODBC, now running MySQL 3.23.xx, MyISAM table, accessed via MyODBC3.51.01.
supported,// Return last 20 searches SELECT TOP 20 h.historyid, h.searchstring, h.serverid, s.shortname FROM history h INNER JOIN servers s ON h.serverid = s.serverid WHERE h.employeeid = 9 ORDER BY h.historyid DESC
Works fine once I remove the "TOP 20" from the query. If this isn't
is there an equivalent?
Thanks, Jim
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]