Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 sql 表,我需要特定列的总和,我的意思是在其他行的同一列中添加一列的数量,有什么建议吗?
尝试以下操作:
SELECT SUM(YourColumn) as Sum FROM YourTable