我使用union
create view sdc_emp_leaves2 as
select * from sdc_leave1 union
select * from sdc_leave2015
当我从以下查询中查询数据时(1035 total, Query took 0.0010 seconds.)
select * from sdc_leave1 union select * from sdc_leave2015
从视图中查询数据需要(Query took 0.0240 seconds.)
为什么在查询中存在很大差异。有没有办法减少时差。