以下为引用的内容: INSERT INTO customers(cust_id,state,post_code) VALUE('Ariel',NULL,'94501');
或
以下为引用的内容: INSERT INTO customers(cust_id,state,post_code) VALUE('Ariel',,'94501');
更新数据
UPDATE命令用于修改表中的数据。
以下为引用的内容: UPDATE order_rollup SET(qty,price)=(SELECT SUM(qty),SUM(price) FROM order_lines WHERE customer_id='KOHL' WHERE cust_id='KOHL' AND order_period=TO_DATE('01-Oct-2000')