hehe, 一个sql语句怎么写,高手教教
在一个表中有一个字段为supplier,现在我想计算由supplier提供的冬冬的样数,怎么样写? 问题点数:50、回复次数:2Top
1 楼qrlvls( 空 气 )回复于 2005-05-16 10:31:16 得分 20
SELECT DISTINCT supplier, count(*) as CntNum GROUP BY supplier FROM table1Top
2 楼pweixing(幸运星)回复于 2005-05-16 11:11:13 得分 30
SELECT DISTINCT supplier, count(*) as CntNum FROM table1 GROUP BY supplierTop




