Reputation: 79
I have a table called users
with this
What is the correct query for delete ONLY the data in field telephone
?
Upvotes: 1
Views: 171
Reputation: 441
You wouldn't delete the data per se, just perform an UPDATE like so:
UPDATE users set telephone = 0
Edit to consider INT field. Answered elsewhere in any case.
Upvotes: 0