日期:2014-05-18 浏览次数:20456 次
create proc GetBookStatisticInfo as select BookName,ISBN,Publisher, 总数=count(1) from tb group by BookName,ISBN,Publisher go
------解决方案--------------------
select BookName,ISBN,Publisher,count(1) 总数 from tb group by BookName,ISBN,Publisher
------解决方案--------------------
create procedure GetBookStatisticInfo as begin select BookName,ISBN,Publisher,count(1)as 总数 from tb group by BookName,ISBN,Publisher end