Sum Function Not Showing Any Value Php And Postgresql

Sum Function Not Showing Any Value Php And Postgresql