Is the table roto_user already populated with data and you need to update it? if so use the UPDATE command not INSERT. Let me know. I hate join statements so I tend to use the syntax "WHERE a.table1_field_to_match = b.table2_field_to_match"
If you are updating try selecting the data and then in a while loop updating the table you need. Something like the following:
<?
$connection = mysql_connect('server_name', 'user_name', 'user_pass');
$query "select * from table_name1 a, table_name2 b Where a.field_to_match = b.field_to_match";
$result = mysql_db_query('db_name',$query,$connection) or die (mysql_error());
while ($row = mysql_fetch_assoc($result))
{
$query2 = "update table_name set db_field_name = '".$row['field_from_query']."' where db_field_name = '".$row['another_field_from_query']."'";
$result2 = mysql_db_query('db_name',$query2,$connection) or die (mysql_error());
?>
What this is supposed to do is after each row is selected from the query, grab the values and then update the table with the values. Keep in mind that this is for a mysql database and may not be the correct syntax for your DB.
I make no guarentee that this will work. Just something to get you thinking. I still need help from here, so in no way am I a master.
Aybabtu.