select * from table1 where sex='女'
union
select * from table2 where sex='女'
union
select * from table3 where sex='女'
建议你把三张表合成一张,不要分开。
union
select * from table2 where sex='女'
union
select * from table3 where sex='女'
建议你把三张表合成一张,不要分开。
union all
select * from table2 where sex='女'
union all
select * from table3 where sex='女'