---多表连接查询select hanshu.name,YingHu.YYadd from hanshuinner join YingHu ON hanshu.id=YingHu.idWHERE sex='女'
语法
select 列名 from 表1
inner join 表2 on 表1关联=表2
where 列名=‘’