例如
   select a,b,c,d,e from A 
   select count(*) as f from B where A.a=B.a
这是做为一览一起抽出来的,
最终是要得到select a,b,c,d,e,f 
请问如何写法