同一张表两字段对应另一张表同一字段的SQL视图怎么写
1个回答
2017-07-26
展开全部
SQL SERVER
select 字段1 + '-' + 字段2 as 字段1,字段3 as 字段2 from table1;
ORACLE
select 字段1 || '-' ||字段2 as 字段1,字段3 as 字段2 from table1
select 字段1 + '-' + 字段2 as 字段1,字段3 as 字段2 from table1;
ORACLE
select 字段1 || '-' ||字段2 as 字段1,字段3 as 字段2 from table1
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询