标签: mysql sql dynamic alias
如何在mysql中执行动态别名?
我实际上有这个查询:
SELECT c.user_name AS client_name, c.user_firstname AS client_firstname FROM users
我想简化它:
SELECT * AS ??? FROM users