摘要:
Create table trade( sell_id int, --卖家 buy_id int, -- 卖家 time date --交易时间)sell_id, buy_id, times1, b2, 2013-1-1s1, b3, 2013-1-1s1, b2, 2013-1-2s2, b4, 2013-1-2select sell_id, count(buy_id) from trader group by sell_id结果是: s1, 3 s2, 1select count(distinct buy_id)from trader group by sell_id结果... 阅读全文
posted @ 2014-04-04 11:04
忍者职业
阅读(164)
评论(0)
推荐(0)

浙公网安备 33010602011771号