这个问题都是关于懒惰的......我想做这样的事情:
select some_func(some_col), * from my_table
所以我不必这样做:
select some_func(some_col), col_1, col_2... col_ad_infinitum from my_table
有什么方法可以使第一个查询起作用吗?这是我运行它时遇到的错误:
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* from my_table' at line 1