SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
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 ChatGPT!
Copy Clear