전시회를 보고 ORDERS 및 CUSTOMERS 테이블의 구조를 살펴봅니다. ORDERS Name Null? Type ORDER_ID NOT NULL NUMBER(4) ORDER_DATE NOT NULL DATE ORDER_MODE VARCHAR2(8) CUSTOMER_ID NOT NULL NUMBER(6) ORDER_TOTAL NUMBER(8, 2) CUSTOMERS Name Null? Type CUSTOMER_ID NOT NULL NUMBER(6) CUST_FIRST_NAME NOT NULL VARCHAR2(20) CUST_LAST_NAME NOT NULL VARCHAR2(20) CREDIT_LIMIT NUMBER(9,2) CUST_ADDRESS VARCHAR2(40) 어떤 INSERT 문을 사용하여 고객의 CUS
A. INSERT INTO (SELECT o
B. INSERT INTO orders (order_id, order_date, order_mode,(SELECT customer idFROM customersWHERE cust_last_name='Roberts' AND credit_limit=600), order_total);VALUES (1,'10-mar-2007', 'direct', &customer_id, 1000);
C. INSERT INTO ordersVALUES (1,'10-mar-2007', 'direct',(SELECT customer_idFROM customersWHERE cust_last_name='Roberts' AND credit_limit=600), 1000);
D. INSERT INTO orders (order_id, order_date, order_mode,(SELECT customer_idFROM customersWHERE cust_last_name='Roberts' AND credit_limit=600), order_total);VALUES (1,'10-mar-2007', 'direct', &customer_id, 1000);