两个报告正在使用具有以下查询的表的列
SELECT [Employee Name], [Email_ID], [Region], [DOB], [Joining Date], [Gross Salary] FROM [tblC6FD_Data_15_EmployeeData] ORDER BY [Employee Name] ASC, [Email_ID] ASC, [Region] ASC, [DOB] ASC, [Joining Date] ASC, [Gross Salary] ASC
SELECT [Employee Name], [Region], [Email_ID], [DOB], [Leaving Date], [Basic Salary] FROM [tblC6FD_Data_15_EmployeeData] ORDER BY [Employee Name] ASC, [Region] ASC, [Email_ID] ASC, [DOB] ASC, [Joining Date] ASC, [Gross Salary] ASC
我想要报告正在使用的表的不同列列表
预期产出
Employee
Email
Region
DOB
Joining Date
Gross Salary
Leaving Date
Basic Salary
我有一个想法将其拆分,,
但有很多混淆和复杂性,以避免在from关键字之后出现其他字符串。
任何人都可以提出一个简单的解决方案。