MySQL/多表查询:修订间差异
来自康健生活
创建页面,内容为“== 引言 == == 常用查询方式 == <syntaxhighlight lang="mysql"> select * from `md_product` inner join `md_team` on `md_product`.team_id = `md_team`.id</syntaxh…” |
|||
| 第3行: | 第3行: | ||
<syntaxhighlight lang="mysql"> | <syntaxhighlight lang="mysql"> | ||
select * from ` | select * from `table1` inner join `table2` on `table1`.table2_id = `table2`.id</syntaxhighlight> | ||