当前位置: 代码迷 >> PHP >> 请高手帮忙看看这条 SQL 语句!多谢
  详细解决方案

请高手帮忙看看这条 SQL 语句!多谢

热度:207   发布时间:2012-02-29 16:44:10.0
请高手帮忙看看这条 SQL 语句!!谢谢
MSSQL:
select   *   from   test   where   id   IN   (select   top   5   id   from   test   order   by   id   desc   )order   by   id   asc;

MYSQL:
不知道Mysql怎么写   MYSQL   子查询   不支持   LIMIT   :(

------解决方案--------------------
array_reverse()
  相关解决方案