Count All Payments inside Table

Posted 1 year ago by mlazuardy

Too fast too make a question again but, this is the right time to ask something i dont know.

Well, I have a table called 'payments' and inside it, i have 1 column called nominal, where nominal is payment who pay something in my website. the nominal is store the number with bigInteger dataType to store who have pay some money for me. The Question is, how to Count all of total payments of my user payment in nominal column ? for example

user 1 had pay 500 user 2 had pay 7000 user 3 had pay 10000

and all of nominal will count and get equal = 17500.

sorry for bad english, and thank you for helping me

Please sign in or create an account to participate in this conversation.