Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

insert into table from another table mysql

INSERT INTO table1 (emp_id, fname)
SELECT emp_id, fname 
FROM table2
WHERE status = 'Active';
 
PREVIOUS NEXT
Tagged: #insert #table #table #mysql
ADD COMMENT
Topic
Name
3+7 =