How can I update a phone number or address from a previous one in a user database? So I would start with a phone number and address already, but I need to im开发者_运维技巧plement a "Update Address" and "Update Number". How would I do this?
I'm assuming this is for SQL? If it is, you can use the UPDATE statement:
UPDATE table_name
SET phone_number=new_phone_number, address=new_address
WHERE user_id=the_user_id_of_the_person_you_want_to_change
精彩评论