找不到与我的查询类似的答案
这对于朋友俚语词典应用程序,所以请不要被愚蠢的语言冒犯
SQL查询:
(
'A', 'Assc', 'Assclown', 'Assclown - verb, adjective - one who makes a complete fool of themselves or is just generally a moron. Closely related to asshat. ALT. SPELLING:ass clown. USAGE: Listen up assclown, you my friend are an untalented hack!'
);
MySQL说:
#1064 - 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 ''A', 'Assc', 'Assclown','Assclown - verb, adjective - one who makes a complete f' at line 1
--
-- Dumping data for table `countries`
--
INSERT INTO `dictionary` (`Letter`, `ID`, `Word`, `Definition`) VALUES
('A', 'As', 'Ass Out','Ass Out - verb, adjective - to be poor, have no money. USAGE: Man I am ass out this month. I
aint got no kinda funds coming through here.');
('A', 'Assc', 'Assclown','Assclown - verb, adjective - one who makes a complete fool of themselves or is just
generally a moron. Closely related to asshat. ALT. SPELLING:ass clown. USAGE: Listen up assclown, you my friend are
('A', 'Autob', 'Autoburial','Autoburial - noun - the state of being given the antithesis of autopush; that is to
receive no favoritism at all. ANT: autopush SYN: baller-blocking, hatred USAGE: My instructor was hating and gave
the entire class massive autoburial on our midterm grades.')
答案 0 :(得分:4)
问题是你用来分隔价值集的分号(;
)。你必须使用逗号(,
)代替。
答案 1 :(得分:2)
问题在于语法,将; 替换为,分隔INSERT数据集