[SQL ]
我想請問一下這段程式碼哪裡錯誤呢??
insert into register (name,sex,birth,id,school,eat,phone,mobile,add,email)
values=("雷風臨","男生","1992/2/29","A129622821","好保中學","雜食","02-12345678
", "0963080800","科科科科科科科科科科科科科科科科科科科科科科科","XDrz@OGC.net"
);
因為她不讓我執行
SQL 語法:
insert into register (name,sex,birth,id,school,eat,phone,mobile,add,email)
values("雷風臨","男生","1992/2/29","A129622821","好保中學","雜食","02-1234567
8", "0963080800","科科科科科科科科科科科科科科科科科科科科科科科","XDrz@OGC.ne
t");
MySQL 傳回: 說明文件
#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
'add,email) values=("é // 後面亂碼
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 210.71.78.30
推
06/25 17:05, , 1F
06/25 17:05, 1F
→
06/25 17:09, , 2F
06/25 17:09, 2F
※ 編輯: ghostleader 來自: 210.71.78.30 (06/25 17:11)
推
06/25 17:24, , 3F
06/25 17:24, 3F
※ 編輯: ghostleader 來自: 210.71.78.30 (06/25 17:35)
→
06/25 17:35, , 4F
06/25 17:35, 4F
推
06/25 18:25, , 5F
06/25 18:25, 5F
推
06/25 20:23, , 6F
06/25 20:23, 6F
討論串 (同標題文章)
Database 近期熱門文章
PTT數位生活區 即時熱門文章
-2
11