【问题标题】:Display the UID and name of employees together in a single column [closed]在单个列中同时显示员工的 UID 和姓名[关闭]
【发布时间】:2021-02-02 22:21:11
【问题描述】:

我创建了一个表格,但不知道如何在单列中显示两列数据 可以帮帮我吗

【问题讨论】:

标签: sql oracle


【解决方案1】:

使用concat()函数

select concat(emp_id, emp_name) as derive_col 
from yourtablename

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-03-20
    • 1970-01-01
    • 2018-09-01
    • 1970-01-01
    • 1970-01-01
    • 2022-11-16
    • 2019-02-13
    • 1970-01-01
    相关资源
    最近更新 更多