select iRecord,ord,count(DISTINCT iRecord) from(select top 1000 iRecord,0 as ord from tblBoardRecord_1800000121_51 Where idCorp=1800000121 and iProject=51 and (field9 like '%Shaanxi%') UNION select top 1000 iRecord,1 as ord from tblBoardRecord_1800000121_51 Where idCorp=1800000121 and iProject=51 and (field2 like '%Shaanxi%')) a where irecord<>47 group by iRecord,ord order by ord asc,iRecord desc
中国投资指南网