What is wrong with following code?
I want to get a updated table of renewals (ten columns)with two fileds of sales_type and sales_representative updated.
but it comes out with a table with only two columns.
Thanks.
Jeff
UPDATE renewal06, purchases_all
SET renewal06.sales_type = purchases_all.sales_type, renewal06.sales_representative =purchases_all.representative
WHERE renewal06.sales_type="Renewals" and renewal06.Merchant_ID=purchases_all.Merchant_ID and purchases_all.Contract_Type="New";
I want to get a updated table of renewals (ten columns)with two fileds of sales_type and sales_representative updated.
but it comes out with a table with only two columns.
Thanks.
Jeff
UPDATE renewal06, purchases_all
SET renewal06.sales_type = purchases_all.sales_type, renewal06.sales_representative =purchases_all.representative
WHERE renewal06.sales_type="Renewals" and renewal06.Merchant_ID=purchases_all.Merchant_ID and purchases_all.Contract_Type="New";