INSERT INTO user_profile (
name,
client_id,
email_id,
mobile,
create_date,
last_modified
)
SELECT
name,
client_id,
email_id,
mobile,
now(),
now()
FROM
user_profile
WHERE
id = 106
INSERT INTO sales.addresses (street, city, state, zip_code)
SELECT
street,
city,
state,
zip_code
FROM
sales.customers
ORDER BY
first_name,
last_name;
INSERT INTO table1
SELECT col1, col2 , col3 FROM table2
WHERE your condition;
INSERT INTO salesTransaction_History
SELECT * FROM salesTransaction
WHERE item_Number='Salt-1';
INSERT INTO OldCustomers
SELECT *
FROM Customers;