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