select d.*,借书册数=(select count(1) from 借阅 where 读者编号
=d.编号 and 借阅日期 between '2004-01-01' and '2006-12-31'
) from 读者 d
=d.编号 and 借阅日期 between '2004-01-01' and '2006-12-31'
) from 读者 d
26403021 sql群 博客 blog./user15/81152/index.shtml