INSERT INTO table(attr1, attr2)
SELECT attr1, attr2 FROM table2
UNION
SELECT attr1, attr2 FROM table3
Insert into a table using values from multiple tables, or multiple values from the same table.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.