給表中插入數據使用 ?INSERT INTO 語句
1.給表 customers 插入第一條數據:
INSERT INTO customers(cust_id,
cust_name,
cust_address,
cust_city,
cust_state,
cust_zip,
cust_country,
cust_contact,
cust_email)
VALUES (10001,
'Coyote Inc.',
'200 Maple Lane',
'Detroit',
'MI',
'44444',
'USA',
'Y Lee',
'ylee@coyote.com');
插入數據
檢索已經有一條數據
INSERT INTO 語句不返回輸出患久!
列名與內容一一對應柱嫌!
customers表得其他數據用同樣的方法插入奖年,表的內容如下:
customers