不知能否直接用SQL 或T-SQL 語法查出這樣的結果還是這樣的結果只能用程式來 ... (Select COUNT(所在樓層) from table1 where 產品編號= tb.
social.msdn.microsoft.com