Hi! Could we please enable some services and cookies to improve your experience and our website?

SQLize | PHPize | SQLtest

Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code

A A A
Login    Share code      Blog   FAQ
Copy Format Clear
create table activity ( id int primary key auto_increment, player_id int, device_id int, event_date date, games_played int ); insert into activity (player_id, device_id, event_date, games_played) values (1, 2, '2016-03-01', 5), (1, 2, '2016-05-02', 6), (2, 3, '2017-06-25', 1), (3, 1, '2016-03-02', 0), (3, 4, '2018-07-03', 5); select * from activity order by id asc limit 0, 3; select * from activity order by id asc limit 3, 3;

Stuck with a problem? Got Error? Ask AI support!

Copy Clear