把旧表中数据加入到新表中

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;

 

上一篇:火狐谷歌浏览器去掉input type=number时控件的方法


下一篇:UK PM warns of 'strong possibility' of no trade deal with EU