I added an extra column to my table and now need to populate it against the data already there.
As a dummy example, I have a table already named customers with CustomerID
, FirstName
, LastName
. I've now added a column called MobilePhone
and want to populate the final column to match the data already there.
CustomerID FirstName LastName MobilePhone
83276432 Joe Bloggs
48273452 Ava Avery
26432346 Jack Jakes
How do I populate the MobilePhone column for Joe, Ava and Jack?
I've tried
INSERT INTO CUSTOMERS
(MobilePhone)
WHERE FirstName = 'Joe', 'Ava', 'Jack'
VALUES (07874384243, 07436453264, 07632531627);