delete hash from users where email@example.com';
Why is the above line not working? I want to delete the value in the hash column in the row the contains the specified email.
That should be:
UPDATE users SET hash = '' WHERE email = 'firstname.lastname@example.org'
DELETE FROM is used to delete entire rows.
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.