2015-03-31 294 views
0

我見過其他問題詢問同樣的事情,但我似乎無法找到解決此問題的問題。我發佈了DESCRIBE [table];INPUT INTO和語法錯誤。INPUT INTO錯誤 - 初學者MYSQL語法問題

mysql> DESCRIBE committees; 
+----------------------+-------------+------+-----+---------+-------+ 
| Field    | Type  | Null | Key | Default | Extra | 
+----------------------+-------------+------+-----+---------+-------+ 
| id     | int(11)  | NO | PRI | NULL |  | 
| name     | varchar(30) | NO |  | NULL |  | 
| num_of_members  | int(11)  | NO |  | NULL |  | 
| created    | date  | NO |  | NULL |  | 
| frequency_of_meeting | varchar(20) | NO |  | NULL |  | 
| president   | int(11)  | NO |  | NULL |  | 
+----------------------+-------------+------+-----+---------+-------+ 
6 rows in set (0.01 sec) 

mysql> INPUT INTO committees (name, num_of_members, created, frequency_of_meeting, president) 
    -> VALUES ('Website Committee', 8, '2015-01-00', 'Every Tuesday', 'Person here') 
    -> ; 
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INPUT INTO committees (name, num_of_members, created, frequency_of_meeting, pres' at line 1 

回答