当我使用MATCH时,为什么SQLite会在select查询中生成错误?订购?

时间:2018-12-19 02:03:32

标签: sqlite

我执行此查询

SELECT sentiment.* FROM sentiment_fts fts LEFT JOIN sentiment ON fts.rowid = sentiment.id WHERE fts.sentiment_fts MATCH ? ORDER BY fts.rowid DESC LIMIT 200

但它会产生此错误:

fts5: syntax error near "": SELECT sentiment.* FROM sentiment_fts fts LEFT JOIN sentiment ON fts.rowid = sentiment.id WHERE fts.sentiment_fts MATCH ? ORDER BY fts.rowid DESC LIMIT 200

任何解决方案吗?

0 个答案:

没有答案