user table: id | facebookid | externalid | more data...
userexternalid table: id | userid | facebookid | externalid
What I need is to write a query that gets all data from the user table and inserts is as following for every single row.
userexternalid.userid = user.id
userexternalid.facebookid = user.facebookid
userexternalid.externalid = user.externalid
Can't seem to find anything like it on the web. Anyone an idea? Thanks