小白求问请问如图用join怎么写?还有嵌套是什么呢
select b.GENDER, count(*) from a left join b on a.name = b.name where a.CLASS = '小班' group by b.GENDER