Answers for "insert into from another table"

SQL
7

sql server insert into select

INSERT INTO sales.addresses (street, city, state, zip_code) 
SELECT
    street,
    city,
    state,
    zip_code
FROM
    sales.customers
ORDER BY
    first_name,
    last_name;
Posted by: Guest on March-05-2020
0

create table and insert values from another table

CREATE TABLE new_table AS
SELECT * 
FROM   old_table;
Posted by: Guest on May-13-2021

Code answers related to "insert into from another table"

Code answers related to "SQL"

Browse Popular Code Answers by Language