创建视图样例
create or replace view view_name as
select tm.stbid,tm.begintime,tm.endtime,tm.status from tablename1 tm
union all
select ta.stbid,ta.begintime,ta.endtime,ta.status from tablename2 ta;
发布时间: 2012-07-04 19:33:55 作者: rapoo
创建视图样例
create or replace view view_name as
select tm.stbid,tm.begintime,tm.endtime,tm.status from tablename1 tm
union all
select ta.stbid,ta.begintime,ta.endtime,ta.status from tablename2 ta;