我用1万条数据测试
select top 1000 title from news where type='军事' and title like '%舰艇%' order by publishdatetime descasc 一般要 120 ms 左右
desc 要 63ms 左右如果去掉后面的and title like '%舰艇%',那么 asc 和 desc表现是一样的为什么?
select top 1000 title from news where type='军事' and title like '%舰艇%' order by publishdatetime descasc 一般要 120 ms 左右
desc 要 63ms 左右如果去掉后面的and title like '%舰艇%',那么 asc 和 desc表现是一样的为什么?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货