mysql - SQL insertion query receive Column count doesn't match value count at row 1 -


i try run sql query:

insert answer_choice (id,text,question_id,is_correct) values (106189022,'11 wall street', true) 

i receive:

 #1136 - column count doesn't match value count @ row 1  

how fix this?

thanks,

you trying insert 4 columns:

-id -text -question:id -is_correct 

but use 3 values

-106189022 -11 wall street -true 

if have field ai, dont use within insert arguement


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -