标签: mysql sql
是否可以使用SELECT * FROM table_name设置列别名?
SELECT * FROM table_name
例如:
SELECT id as table_name_id, name as table_name_id, description as table_name_id FROM table_name
但是有某种方法可以为所有列结果设置同一表前缀? SELECT * as prifix_ FROM table_name之类的东西?
SELECT * as prifix_ FROM table_name
谢谢!