Mysql
 sql >> Database >  >> RDS >> Mysql

mySQL ::inserire nella tabella, dati da un'altra tabella?

INSERT INTO action_2_members (campaign_id, mobile, vote, vote_date)  
SELECT campaign_id, from_number, received_msg, date_received
  FROM `received_txts`
 WHERE `campaign_id` = '8'