Mysql
 sql >> Base de Dados >  >> RDS >> Mysql

mySQL ::inserir na tabela, dados de outra tabela?

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'