create table daizk.IOS_matrix_sex as
select *
from zhujx.1029_IOS_features_replce_null
where sex = 'M'
union all
select *
from zhujx.1029_IOS_features_replce_null
where sex = 'F'
order by rand()
limit 781318
男女各抽了781318条
create table daizk.IOS_matrix_sex as
select *
from zhujx.1029_IOS_features_replce_null
where sex = 'M'
union all
select *
from zhujx.1029_IOS_features_replce_null
where sex = 'F'
order by rand()
limit 781318
男女各抽了781318条
转载于:https://www.cnblogs.com/zhangbojiangfeng/p/6015988.html