Add all the values in the table

0

I'm trying to sum all the values at once from the table, but it's giving error, my code: mysqli_query($conexao,"SELECT SUM(entrada) FROM livro"); I think it's because the values are comma (ex: 1,10), someone has any hint of what do? Table: book, column: entry.

    
asked by anonymous 19.06.2018 / 00:56

0 answers