UPDATE _customer_ SET field_b = 'somsri',
'somying,'somchai,
'somjit' WHERE field_a = 'suvit'
MySQL แสดง:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''somying,'somchai,'somjit' where field_a = 'suvit'' at line 1
UPDATE customer SET field_b = 'somsri',
'somying,'somchai,
'somjit' WHERE field_a = 'suvit'
MySQL แสดง:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''somying,'somchai,'somjit' WHERE field_a = 'suvit'' at line 1
UPDATE _customer_ SET field_b = 'somsri' WHERE field_a = 'suvit';
UPDATE _customer_ SET field_b = 'somying' WHERE field_a = 'supoj';
UPDATE _customer_ SET field_b = 'somchai' WHERE field_a = 'sujit';
UPDATE _customer_ SET field_b = 'somjit' WHERE field_a = 'surat';