Home >Database >Mysql Tutorial >mysql SQL 多表查询最优问题

mysql SQL 多表查询最优问题

WBOY
WBOYOriginal
2016-06-06 09:41:251222browse

mysqlsql

有表 t(t_year,col), t1(t1_year,t1_month,col_1), t2(t2_year,t2_month,col_t2), t3(t3_year,t3_month,col_t3), 和目标表 T(T_year,T_month,col,col_1,col_2,col_3),
将t, t1, t2, t3的数据整合到 T 中,什么样的SQL最优?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn