![](/img/trans.png)
[英]SQL query to sum two or more columns and displaying them in the other column
[英]Sql Query Optimization for counting and displaying (distinct value in column), grouped by other two columns
为了提高性能,您将需要在表上添加(A, B, C)
的综合索引 。
ALTER TABLE your_table_name
ADD INDEX(A,B,C);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.