예를 들어, customers와 orders라는 두 개의 테이블이 있다고 가정해보자. customers 테이블에는 customer_id, name, email 열이 있고, orders 테이블에는 order_id, customer_id, order_date, total_amount 열이 있다. 이 두 테이블을 조인하고, 고객의 이름, 이메일, 주문 상세 정보를 포함하는 결과를 가져오고 싶다면, 다음과 같이 INNER JOIN 문을 사용할 수 있다. SELECT customers.customer\_id, customers.name, customers.email, orders.order\_id, orders.order\_date, orders.total\_amount FROM customers INNER JO..