DROP TABLE IF EXISTS ids;
SET NAMES UTF8;
CREATE TABLE ids (
id INT(10) UNSIGNED PRIMARY KEY AUTO_INCREMENT
) ENGINE=Mroonga DEFAULT CHARSET=utf8;
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
SELECT * FROM ids WHERE ids.id < 4 ORDER BY ids.id ASC LIMIT 3;
id
1
2
3
DROP TABLE ids;
