coolicer
V2EX  ›  问与答

mysql 学得不好,问些基础问题。

  •  
  •   coolicer · Jun 24, 2014 · 2504 views
    This topic created in 4344 days ago, the information mentioned may be changed or developed.
    刚想到一个,大家想问的可以跟上。

    1. 如果一个表数据很大,加limit去查也是没用?它还会检索全表吗?
    1 replies    2014-06-24 21:46:31 +08:00
    zhuf
        1
    zhuf  
       Jun 24, 2014
    where id >? and id < ?这样不是更好,id是主键。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   908 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 22:28 · PVG 06:28 · LAX 15:28 · JFK 18:28
    ♥ Do have faith in what you're doing.