mysql如何select1到100

SELECT * FROM table_name WHERE id >= 1 && id

另外,也可以使用LIMIT关键字实现:

SELECT * FROM table_name LIMIT 0, 100;