Hi, The scenario: SELECT id_product FROM products WHERE product_code='PRD-030';
Now I want to insert id_product into another table : INSERT INTO product_sales( id_product, sale_date) INSERT INTO product_sales( id_product, sale_date) INSERT INTO product_sales( id_product, sale_date) ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly