problems with REPLACE in decimal field in MySQL with Python3

0

In Python 2 I used the SQL query of the following form

SELECT REPLACE(SUM(valor), '.', ',') FROM pedidos

and the result was thus 1790394.95

But in Python3 I run the same query and the result comes like b'1790394,95 '

I'm using Python3 and MySQL 5.7

    
asked by anonymous 16.08.2018 / 21:19

0 answers