也不知道该怎么设计大纲,那就随便写点今天学的东西吧。
关于SQL的join、inner join和where
join
select *
from A as t1
join B as t2 on t1.id = t2.id
等同于 inner join
select *
from A as t1
inner join B as t2 on t1.id = t2.id
等同于 where
select *
from
A as t1,
B as t2
where t1.id = t2.id