Sql Jions 的简易理解
Posted 伪全栈的java工程师
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Sql Jions 的简易理解相关的知识,希望对你有一定的参考价值。
Sql Jions 的简易理解
Select * from TableA A left jion TableB B on A.key = B.key
Select * from TableA A right jion TableB B on A.key = B.key
Select * from TableA A inner jion TableB B on A.key = B.key
Select * from TableA A left jion TableB B on A.key = B.key where B.key is NULL
Select * from TableA A right jion TableB B on A.key = B.key where A.key is NULL
Select * from TableA A full outer jion TableB B on A.key = B.key
Select * from TableA A full outer jion TableB B on A.key = B.key where A.key is NULL or B.key is NULL
以上是关于Sql Jions 的简易理解的主要内容,如果未能解决你的问题,请参考以下文章