0

没有找到与我的查询类似的答案

这是一个朋友的俚语词典应用程序,所以请不要被愚蠢的语言冒犯

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.')
4

2 回答 2

4

;问题是您用来分隔值集的分号 ( )。您必须改用逗号 ( ,)。

于 2012-06-18T06:07:27.193 回答
2

问题出在语法上,替换分离INSERT 数据集

于 2012-06-18T06:08:30.703 回答