1. JOIN select order_id, product_id, name from `weniv.weniv_order` join `weniv.weniv_product` on `weniv.weniv_order`.product_id = `weniv.weniv_product`.id select order_id, product_id, name from `weniv.weniv_order` as o join `weniv.weniv_product` as p on o.product_id = p.id 2. INNER JOIN 두 테이블 모두에서 일치하는 값이 있는 행 반환 select table1.id, table2.id from table1 [inner] join table2 on table2.id=table1.id ..