MySQL建立复合索引

在MySQL数据库中,建立复合索引的时候,不知道在建立过程当中哪一个列在前面,哪一个列该在后面,用如下方式便可: select count(distinct first_name)/count(*) as first_name_selectivity, count(distinct last_name)/count(*) as last_name_selectivity, count(*) fro
相关文章
相关标签/搜索