sql update 1

sql update \

UPDATE `table_name`
	SET `status` = 'offline' 
		WHERE `id` = 2386;

Here is what the above code is Doing:
1. We’re selecting the row with the id of 2386.
2. We’re updating the status column to be offline.
3. We’re updating the row where the id is 2386.

Similar Posts