我试图在phpmyadmin中运行此查询,但它显示错误

时间:2017-02-09 04:01:34

标签: mysql sql

我收到错误消息=#1064 - 您的SQL语法出错了;检查与您的MySQL服务器版本相对应的手册,以便在其附近使用正确的语法,其中bidder_id =' 54''在第1行

UPDATE bid SET estimated_duration = '3 month', bid_amount = '5000', proposal_text = 'hellothere', bid_attachment = '', where bidder_id = '54'

2 个答案:

答案 0 :(得分:3)

丢失bid_attachment = '',中的逗号以使其成为

UPDATE bid SET estimated_duration = '3 month', bid_amount = '5000',
    proposal_text = 'hellothere', bid_attachment = ''
where bidder_id = '54'`

答案 1 :(得分:0)

尝试此查询:

UPDATE bid SET estimated_duration = '3 month', bid_amount = '5000', proposal_text = 'hellothere', bid_attachment = '' where bidder_id = '54'