Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ステートメントを使用する理由を知る必要があります。
local forRaws = "SELECT * FROM "..tokenTable[3].."WHERE subcategory = " .. "'" .. tokenTable[4] .. "'"
tokeTable[3]とtokenTable[4]には、2つの異なる文字列非nil値があります。=の近くでsytaxエラーが発生します
私は何が間違っているのですか?
あなたの時間より。
前にスペースがあるべきではありませんWHERE:
WHERE
"SELECT * FROM "..tokenTable[3].." WHERE subcategory = '" .. tokenTable[4] .. "'"
?