1千万数据中查找1条名为测试的数据,使用同时执行4条sql快还是使用执行1条sql快
SELECT * FROM `topic` WHERE `id` <2500000 and title='测试'
SELECT * FROM `topic` WHERE `id` >2500000 and `id` <2500000 and title='测试'
SELECT * FROM `topic` WHERE `id` >5000000 and `id` <7500000 and title='测试'
SELECT * FROM `topic` WHERE `id` >7500000 and title='测试'
SELECT * FROM `topic` WHERE title='测试'