How to get data from MySQL to sum?

hello, i now making a simple cashier app. but i got some trouble. how to get data from database for sum? by the way i use list view image and text to. maybe from the list i can do sum too. thanks

SELECT SUM(column_name) FROM table's_name;

Else in order your procedure to work you have to change it like


ah thank you that really help me

thanks that really help me