1.创建视图:
SELECT SI.SYSID id,SI.SYS_NAME_EN AS sysName,SI.SYS_NAME_CN AS sysCname,SI.RECEIVE_STATUS AS sysReceiveStatus,
2.查询视图:
SELECT * FROM TB_CONF
查询视图就和查询表一样,只不过是把表名改为视图名就可以了。。
1.创建视图:
SELECT SI.SYSID id,SI.SYS_NAME_EN AS sysName,SI.SYS_NAME_CN AS sysCname,SI.RECEIVE_STATUS AS sysReceiveStatus,
2.查询视图:
SELECT * FROM TB_CONF
查询视图就和查询表一样,只不过是把表名改为视图名就可以了。。