I have consolidated a joined table with it's related entity as the relationship was one-to-one.
So now the original ww_staff
table holds the ww_contacts
details directly.
I wrote the following statement based on what I think is logical from MySQL's perspective
but - its not happy.
Can anyone see a similar solution or a blatent transgression?
INSERT INTO
ww_staff s
(phone, mobile, email, skype)
VALUES
(
SELECT w.phone, w.mobile, w.email, w.skype
FROM ww_contacts w
JOIN ww_staff s
ON s.staff_ID = w.contacts_ID
);