2017-02-09 61 views
0

我收到錯誤消息=#1064 - 您的SQL語法中有錯誤;檢查對應於你的MySQL服務器版本正確的語法使用手動接近「其中bidder_id =‘在行1我試圖在phpmyadmin中運行此查詢,但它顯示錯誤

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

這可能是更好的將「3」和「月」作爲獨立的實體和周圍54引號是多餘 – Strawberry

回答

3

54’」失去逗號bid_attachment = '',,使其

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

太感謝你了它的工作原理... –

0

試試這個查詢:

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