标签: mysql
从以下哪个更好
select * , 98 as match_score from table_name order by match_score desc limit Y
或
select *, 98 as match_score from table_name order by match_score desc limit 0,Y
答案 0 :(得分:0)
LIMIT Y是LIMIT 0,Y的缩写,所以我没有看到任何获得性能的空间。
LIMIT Y
LIMIT 0,Y