select sum(total1) + SELECT sum( total2 ) from balance WHERE id=( SELECT max(id) FROM balance)
Can't seem to get it working
try
select sum(totalSEK) + MAX(id) As totalSum FROM balance;
1.4m articles
1.4m replys
5 comments
57.0k users