Mysql的Join语句中On和Where条件的区别
Mysql的Join语句中On和Where条件的区别
首先创建两张测试用表
create table t1 (id int not null,c1 int,primary key(id))
create table t2 like t1
插入如下的数据
t1
| id | c1 |
| - | :-: |
| 1 | 10 |
| 2 | 20 |
| 3 | 30 |
t2
| id...
原创
2019-02-15 18:02:42 ·
701 阅读 ·
0 评论