INSERT into archive (title_product, title_category, price_product)
SELECT title from product,
SELECT title from category,
SELECT price from product;
INSERT into archive (title_product, title_category, price_product)
SELECT p.title, c.title, p.price
from product p
join category c on p.category_id = c.id