There is a request:
SELECT CONCAT('SELECT ', (SELECT GROUP_CONCAT(COLUMN_NAME) FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA='u0415445_game' AND TABLE_NAME='users' AND COLUMN_NAME NOT IN ('id', 'nickname', 'steamid') ORDER BY ??? ), ' FROM users'); How to sort it (ORDER BY) alphabetically?
ORDER BYdesigned to sort everything by / against the alphabet :). Just enter the name of the column instead???and you will be happy;) - Egor Randomize