Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

select from table and insert into table in sql

INSERT INTO table_name(column_list)
SELECT 
   select_list 
FROM 
   another_table
WHERE
   condition;
Code language: SQL (Structured Query Language) (sql)
Source by www.mysqltutorial.org #
 
PREVIOUS NEXT
Tagged: #select #table #insert #table #sql
ADD COMMENT
Topic
Name
7+1 =