SQL
x
use hewiki_p;
SELECT @rn:=@rn+1 AS rank, t1.*
FROM (
select * from page
) t1, (SELECT @rn:=0) t2
order by page_id desc
limit 10
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.