sqlserver   select top 1 * from table
在mysql不能执行
mysql里面执行该sql语句错 如何解决???/ 
select top 1 cityid from chniplist where ipstart <=@ipf AND ipend >= @ipf order by ipend - ipstart ASC;
mysql里面执行该sql语句错 如何解决???/You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1 cityid from chniplist order by ipend - ipstart ASC' at line 1