如何在Sql代码中使用数学函数? [英] How Can I Use Math Function In Sql Code?
本文介绍了如何在Sql代码中使用数学函数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
喜。
i在数据库表中有一个字段,类型为int。
在我的程序中,我想通过点击按钮从该字段中减少一个数字。
$ b例如$ b,该字段的数据是6.当我点击按钮时,它将是5.
谢谢。
hi.
i have a field in table of database that type is int.
in my program , i want reduce one number from that field by click button.
for example , data of that field is 6. when i click button,it will be 5.
thanks.
推荐答案
请看我对这个问题的评论。例如,请参阅: http://docs.oracle.com/html/A95915_01/sqopr.htm#i1004676 [ ^ ]。< br $>
-SA
Please see my comment to the question. See, for example: http://docs.oracle.com/html/A95915_01/sqopr.htm#i1004676[^].
—SA
这篇关于如何在Sql代码中使用数学函数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文