##INNER JOIN
複数のテーブルを結合し、指定したカラムで一致するデータのみ取得する
SELECT * FROM ginkou.user A
INNER JOIN ginkou.member b
ON A.status = B.status;
##LEFT OUTER JOIN
左のテーブルの全データを取得し、右のテーブルのデータを結合する
右のテーブルにマッチするデータがない場合≪NULL≫となる
SELECT * FROM ginkou.user A
LEFT OUTER JOIN ginkou.member b
ON A.status = B.status;
##RIGHT OUTER JOIN
右のテーブルの全データを取得し、左のテーブルのデータを結合する
左のテーブルにマッチするデータがない場合≪NULL≫となる
SELECT * FROM ginkou.user A
RIGHT OUTER JOIN ginkou.member b
ON A.status = B.status;