Database (Java) / Which way would be the efficient/best? : <p>Whats the best way to make the program? I connected the program to a database through JDBC. I have 2 integer typed columns.</p>

<p>In my program, I put on GUI in a table the number1, number2 and number1+number2. What would be the best: if I store the number1+number2 as a third column in database and all I do I read from database and put on gui OR read the first, second column, sum them and then put on GUI?</p>
