Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

sql insert multiple rows from select

  INSERT INTO table2
     (name, email, phone)
     SELECT name, email, phone
     FROM table1;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #insert #multiple #rows #select
ADD COMMENT
Topic
Name
7+8 =