How to use SQL statements to realize the sum of each column in Total One, Total Two, and Total Three?
人生最曼妙的風(fēng)景,竟是內(nèi)心的淡定與從容!
Are total one, total two and total three the column names of three columns? Do you want to calculate the sum of these three columns respectively?
If that’s what you mean, then try select sum(合計(jì)一) from 表名;
Calculate the sum of one column in this way, and the other two are the same