首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

创设视图样例

2012-07-04 
创建视图样例create or replace view view_name asselect tm.stbid,tm.begintime,tm.endtime,tm.status fr

创建视图样例
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;

热点排行