select t1.a,t1.b from(select a,b from table1) t1------解决方案--------------------视图就是把查询结果当表的。create view ** as select ** from ***.