討論串[SQL ] 數量統計問題?
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者hhomerun (HOMERUN家族弟弟)時間11年前 (2014/07/11 19:27), 11年前編輯資訊
0
0
1
內容預覽:
Hello,. SELECT [a].[name]. ,case when SUM([station].[qty]) IS NULL then 0. else SUM([station].[qty]) end [qty]. FROM (SELECT distinct [name] FROM [tes
(還有301個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者joedenkidd (優質的藍色射手)時間11年前 (2014/07/11 10:59), 編輯資訊
0
0
1
內容預覽:
Dear All. A Table(a). name station. A station1. A station2. B station1. C station1. B Table (station1). name qty. A 10. B 20. select count(*) from sta
(還有498個字)
首頁
上一頁
1
下一頁
尾頁