如果我要去11-20的Account表的数据 Select * From Account Limit 9 Offset 10; 以上语句表示从Account表获取数据,跳过10行,取9行 嗯,我觉得这个特性足够让很多的web中型网站使用这个了。 也可以这样写 select * from account limit10,9和上面的的效果一样。 通用公试: sql = "select * from FlyCrocodile where "+条件+" order by "+排序+" limit "+要显示多少条记录+" offset "+跳过多少条记录; 如: select * from flycrocodile limit 15 offset 20     意思是说:   从flycrocodile表跳过20条记录选出15条记录 

相关文章:

  • 2021-09-05
  • 2021-09-16
  • 2021-04-25
  • 2023-03-30
  • 2021-11-19
  • 2021-11-19
  • 2021-11-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
  • 2021-08-26
  • 2021-06-18
相关资源
相似解决方案