0
CREATE TABLE 'history'
(
'id' INTEGER PRIMARY KEY autoincrement NOT NULL,
'symbol' INTEGER NOT NULL,
'shares' INTEGER NOT NULL,
'price' text NOT NULL,
'transaction' datetime NOT NULL,
'user_id' INTEGER NOT NULL
)
插入SQL語句失敗的:
INSERT INTO history
(symbol,
shares,
price,
transaction,
user_id)
VALUES ('MSFT',
10,
25,
'2017-02-26 21:50:10',
3)
未能解決該問題。請幫忙。
你可以發佈錯誤消息嗎? –