Commit 62c2c746 authored by Safyrus's avatar Safyrus

modif request

parent 891a00bd
......@@ -11,3 +11,23 @@ where location_country LIKE '%Japan%';
SELECT name
from platform
where install_base > 10000000;
SELECT name
from game
order by name
limit 21173, 442;
drop procedure if exists page;
delimiter //
CREATE PROCEDURE page (IN p INT)
BEGIN
set p = (p-1)*500;
SELECT id, name
from game
order by id
limit p, 500;
END//
call page(2)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment