Home >Backend Development >PHP Tutorial > 请高手帮忙看看这条 SQL 语句!多谢
请高手帮忙看看这条 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()