经典sql语句

select b.*,(select count(a.id) from td_product a where a.protypeid=b.id) num from td_protype b

posted @ 2011-09-27 08:16  匆匆夏日  阅读(157)  评论(0)    收藏  举报