我正在尝试在mysql表上创建索引,就像我之前所做的那样。我收到的错误是,
Unexpected beginning of statement. (near "badetail" at position 20)
Unexpected beginning of statement. (near "docprofile" at position 30)
Unrecognized statement type. (near "USING" at position 42)
sql是“CREATE INDEX trd ON badetail(docprofile)”
我无法找出导致这些错误的原因