어떤 join을 하던


select * from A (조인 아무거나) B on A.p = B.p;

inner join이든 left, right 조인이든


A.p = 5가 m개고

B.p = 5가 n개 라고 하면


경우의 수가 m*n 이네