在我看来,SQL显示两个文本及其价值观
我希望向“护理人员付款”和“看护者无偿”展示,因为我认为护理人员离开了。
以下是我的代码
SELECT a.EmployeeUID AS [Employee ID]
,b.LongName AS [Leave type] (here i wanna show two leave type as one mentioned above)
,a.Mins AS [Leave balance
FROM [dbo].[AbsenceBalance] a
JOIN [dbo].[AbsenceTypes] b ON a.AbsenceTypesUID = b.UID
WHERE b.UID IN (3,4,5,6,7)
。
I am looking to show "Carers Paid" and "Carers Unpaid" to show as a Carers Leave in my view.
below is my code
SELECT a.EmployeeUID AS [Employee ID]
,b.LongName AS [Leave type] (here i wanna show two leave type as one mentioned above)
,a.Mins AS [Leave balance
FROM [dbo].[AbsenceBalance] a
JOIN [dbo].[AbsenceTypes] b ON a.AbsenceTypesUID = b.UID
WHERE b.UID IN (3,4,5,6,7)
Thanks.enter image description here
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论