타 테이블을 검색 -> 원하는 값만 가져와 삽입 위치에 맞게 작성하고, 가져올 값도 해당 위치에 적기 valuse 대신 select ~ from 가져올테이블명으로 삽입 예) product 테이블의 name, price을 가져와 삽입 insert into buy (customer, product_name, price, amount) select '다래', name, price, 3 from product where num = 3; -- select를 이용하여 원하는 위치에 타 테이블의 값 삽입 insert into buy(customer, product_name, price, amount) select '다래', name, price, 3 from product where num = 3; mysql> se..