Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Adding values in a column  RSS feed

 
Krish Pat
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I am creating dynamic rows of data in a table. If I have to add all the values of a column and display this total,how do I go about it?
Probably using SQL to do an addition of that column and then storing the result in a resultset and displaying from that resultset might seem like an option. Can anyone throw some light on this?
Thanks,
Krish
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!