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.
2 つの列の値を乗算したい... 1 つの列の名前は「ポイント」で、もう 1 つの列の名前は「単位」です。私は実際に両方の列の値を乗算し、乗算された値の合計を合計したいと考えています。どうすればいいですか?
I hope you lookin something like this.. SELECT sum(total) FROM ( SELECT col1 * col2 AS total FROM your_table tbl1 ) tbl2