简体   繁体   English

有什么方法可以将表数据用作DB2数据库中的单独列

[英]Is there any way to use the table data as separate column in DB2 database

I want to use the table data as a separate column in DB2 database. 我想将表数据用作DB2数据库中的单独列。 For example, consider a table Employes contains EmpID, Address, DeptID, Hiredate. 例如,考虑一个表Employes包含EmpID,Address,DeptID,Hiredate。 My question is, how to display particular hiredate as a separate column in a table? 我的问题是,如何在表中将特定的雇用日期显示为单独的列?

Example

29 March 2013 Joined not Joined Joined Joined 2013年3月29日已加入未加入已加入已加入

Can you please help me on this? 你能帮我吗?

Here are some examples that you might want to look at. 以下是一些您可能需要查看的示例。 DB2 examples DB2示例

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM