使用c#在mysql中创建一个表,在其中我可以执行列的总和 [英] creating a table in mysql by using c# in which i m able to perform sum of a column

查看:62
本文介绍了使用c#在mysql中创建一个表,在其中我可以执行列的总和的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我的问题是我做了一个表,其中我必须按列计算记录的总和.但是问题是当我添加新记录时,它们在总行(包含总和的行)下.有什么办法在其中我可以将总计行保留在所有其他记录下.请帮助!!

so my problem is that i have made a table in which i have to calculate sum of records columnwise.but the thing is when i add new record they come under the total row(row which contains sum).is there any way in which i can keep my totalling row under all other records.Please HELP!!

推荐答案

检查您的查询.您可能触发了错误的查询.
Check your query. You might have fired a wrong query.


这篇关于使用c#在mysql中创建一个表,在其中我可以执行列的总和的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆