我試圖運行這個簡單但SQL在phpMyAdmin的,但它不斷拋出了這個錯誤:C創建表不是在phpMyAdmin
#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 '' at line 1
當嘗試運行這段代碼:
CREATE TABLE tasks (task_id INT UNSIGNED NOT NULL AUTO_INCREMENT,parent_id INT UNSIGNED
NOT NULL DEFAULT 0,task VARCHAR(100) NOT NULL,date_added TIMESTAMP NOT NULL,date_completed
TIMESTAMP,PRIMARY KEY (task_id),INDEX parent (parent_id),INDEX added (date_added),INDEX
completed (date_completed);
我已經嘗試運行此代碼有和沒有;
當然任何幫助將是最受歡迎的!
你忘了:)結束) – enigmaticus
剛回來刪除這個工作之後,我自己哈哈,這樣一個男生錯誤!感謝您的快速反應! – user3347064