Du behöver FORMAT
funktion:
http://dev.mysql.com/doc /refman/5.0/en/string-functions.html#function_format
SELECT
P.price,
FORMAT(P.price, P.decimals) as price,
P.decimals
FROM
product P;
Du behöver FORMAT
funktion:
http://dev.mysql.com/doc /refman/5.0/en/string-functions.html#function_format
SELECT
P.price,
FORMAT(P.price, P.decimals) as price,
P.decimals
FROM
product P;