maomingchao

mysql8的 select as 问题

//mysql8有个很有意思的事情;

//这样就不行
select 'test' as '测试',* from table_name;

//这样就可以;
select * ,'test' as '测试' from table_name;

  

posted on 2022-02-13 15:33  maomingchao  阅读(166)  评论(0编辑  收藏  举报

导航