错误:ER_WRONG_VALUE_COUNT_ON_ROW:列数与第1行的值计数不匹配

问题描述 投票:8回答:2
INSERT INTO MediaTrackInactive(MediaTrackInactiveID, PrimaryCategoryID, Title, Source, AnchorName, ProducedBy, CoverageID, Content, AudioLength, IsLead, CreationTime, UploadTime, StoryTypeID, IsPending)  
VALUES(103257 , '10', 'How does the US make the case for its interests in Ukraine?', 'NewsHour, PBS NewsHour, News', '1', 'Reporting from the Aspen Ideas Festival in Colorado, Hari Sreenivasan interviews the former American Ambassador to Russia, Michael McFaul, in a conversation focused on the crisis in Ukraine and its impact on U.S.-Russian relations.', '365', '', 1404602224000, 1404689273287, 2, 0)

在尝试执行上述查询时,出现以下错误错误:ER_WRONG_VALUE_COUNT_ON_ROW:列数与第1行的值计数不匹配我真的不明白我做错了什么谢谢

mysql sql
2个回答
13
投票

您提供的价值低于您提到的价值。

您已经提到了14个列名,并且您只提供12列的值。


5
投票

您指定的列数多于值。我想有些'丢失了。

也许在这里:'PBS NewsHour, PBS NewsHour, Rivet',

© www.soinside.com 2019 - 2024. All rights reserved.