搜尋

首頁  >  問答  >  主體

MySQL不知道錯哪裡了?

 insert into score1

   (id,title,name,content)

   values

# (1,'試試','張三','張三亮了')

ERROR 1064 (42000): 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 '(1, '試試','張三','張三亮了')' at line 4

徐嘉辉徐嘉辉1778 天前1102

全部回覆(1)我來回復

  • life

    life2020-03-25 16:20:08

    是不是id是唯一鍵,然後這個重複了

    回覆
    0
  • 取消回覆