mysql - Update left join query help -
i have no idea how i'm trying do.
data relationships demonstrated in example
update sym_entries_data_55' set value = '46.00' (sym_entries_data_55.id = sym_entries_data_54.id) , (sym_entries_data_54.member_id = sym_entries_data_5.entry_id) , (sym_entries_data_5.username = 'namehere')
answer
update sym_entries_data_55, sym_entries_data_54, sym_entries_data_5 set sym_entries_data_55.value = '52.00' sym_entries_data_55.id = sym_entries_data_54.id , sym_entries_data_54.member_id = sym_entries_data_5.entry_id , sym_entries_data_5.username = 'namehere'
update sym_entries_data_55, sym_entries_data_54, sym_entries_data_5 set sym_entries_data_55.value = '46.00' sym_entries_data_55.id = sym_entries_data_54.id , sym_entries_data_54.member_id = sym_entries_data_5.entry_id , sym_entries_data_5.username = 'namehere'
Comments
Post a Comment