MySQL>=5.5:
SELECT FORMAT(10000000.5, 2, 'de_DE') AS format
MySQL<5.5:
SELECT REPLACE(REPLACE(REPLACE(FORMAT(10000000.5,2), ',', ':'), '.', ','), ':', '.') AS format
More Related Contents:
- INSERT INTO SELECT statement with more columns which is not in another table
- SQL Print the name of all Employees together with the name of their supervisor
- MySQL how to fill missing dates in range?
- Left Outer Join doesn’t return all rows from my left table?
- ‘IF’ in ‘SELECT’ statement – choose output value based on column values
- How to split the name string in mysql?
- MySQL offset infinite rows
- Can a foreign key reference a non-unique index?
- Why does MySQL allow “group by” queries WITHOUT aggregate functions?
- How to set a maximum execution time for a mysql query?
- Get the latest date from grouped MySQL data
- SQL keys, MUL vs PRI vs UNI
- How to copy a row and insert in same table with a autoincrement field in MySQL?
- MySQL Error 1264: out of range value for column
- How to change the default port of mysql from 3306 to 3360
- How to move columns in a MySQL table?
- Using group by on two fields and count in SQL
- Is it possible to reference one column as multiple foreign keys?
- Can MySQL convert a stored UTC time to local timezone?
- Whats the fastest way to lookup big tables for points within radius MySQL (latitude longitude)
- quick selection of a random row from a large table in mysql
- #1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’
- How can we find gaps in sequential numbering in MySQL?
- MySQL CONCAT returns NULL if any field contain NULL
- Does Order of Fields of Multi-Column Index in MySQL Matter
- Alternative to using LIMIT keyword in a SubQuery in MYSQL
- Empty IN clause parameter list in MySQL
- How to check if field is null or empty in MySQL?
- mysql select id and name from other table and join query
- mySQL query to search all tables within a database for a string?