gpt4 book ai didi

mysql - 为什么sql中不能插入多行数据?

转载 作者:行者123 更新时间:2023-11-29 11:20:10 25 4
gpt4 key购买 nike

INSERT INTO doctor (doc_id,doc_name,doc_speciality,doc_available,doc_info) values
(5,'Jack Racheal','Gastric','yes','No one'),
(6,'Yara Greyjoy','Respiratory problems','yes','Daughter of Balon Greyjoy'),
(7,'Jared','Cancer','yes','Mastermind behing the Silicon Valley'),
(8,'Avaiato','Respiratory problems','yes','Daughter of Howland Reed',
(9,'Leo DiCaprio','Diabetes','yes','Django Unchained'),
(10,'Danerys Targareyan','Respiratory problems','yes','Mother of Dragons'),
(11,'Jon Snow','Jaundice','yes','Knows nothing'),
(12,'Tyrion Lannister','Typhoid','yes','Knows something when he drinks'),
(13,'Samwell Tarly','Gastric','yes','Step father of baby sam'),
(14,'Cateyln Tully','Respiratory problems','yes','Red wedding'),
(15,'Sandors Clegane','T.B','yes','The hound'),
(16,'Arya Stark','Cholera','yes','The girl has no name')

最佳答案

id 8 是:

(8,'Avaiato','Respiratory problems','yes','Daughter of Howland Reed',

它似乎缺少一个右括号。

(8,'Avaiato','Respiratory problems','yes','Daughter of Howland Reed'),

关于mysql - 为什么sql中不能插入多行数据?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39054757/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com