select * from (select user())a 为什么是查询user()的意思? 步骤:1、先查询 select user() 这里面的语句,将这里面查询出来的数据作为一个结果集 取名为 a2、然后 再 select * from a 查询a ,将 结果集a 全部查询出来