I have an issue, I want to take the value of the field 'coName' in my counties table and insert it into the 'catName' field of my categories table.
Problem is, there's 178 rows in the counties table so the following SQL doesn't quite work:
INSERT INTO categories
SET catName=
(
SELECT coName
FROM counties
WHERE coCountryId=201
)
Anybody know a way I can run this query 178 times and not duplicate the entries inserted.