把旧表中数据加入到新表中
作者:互联网
1、把房源详情表 中某些数据加入到 房屋交易数据表中
INSERT INTO secondary.house (houNumber,houName,houSquareMeter,houTransactionPrice, houListingPrice,houTransactionCycle,houNumPriceAdjustment, cityName,regionOne,regionTwo,regionThree, houNumConcerned,houNumViews,houTransactionTime) SELECT lj_number,house_title, deal_ave_price,deal_price, list_Price,deal_cycle,adj_price_num, city_name,region_1_name,region_2_name,region_3_name, care_peos,through_nums,deal_time FROM secondary.deal_re_2;
标签:name,deal,加入,house,price,secondary,新表中,region,旧表 来源: https://www.cnblogs.com/mrfanqie/p/mysql1914.html