enter image description here 在这里我的形象Plzz帮帮我..
答案 0 :(得分:-1)
FROM ((([Q1001 - Split Transactions] a left join
(SELECT b.*, 2014 as yyyy FROM [2014 Negotiated Rate] as b
) as b
on a.[RX_ID] = b.[PROPCODE] And YEAR(a.[Start Date]) = b.yyyy
) left join
(SELECT c.*, 2015 as yyyy FROM [2015 Negotiated Rate] as c
) as c
on a.[RX_ID] = c.[PROPCODE] And YEAR(a.[Start Date]) = c.yyyy
) left join
(SELECT d.*, 2016 as yyyy FROM [2016 Negotiated Rate] as d
) as d
on a.[RX_ID] = d.[PROPCODE] And YEAR(a.[Start Date]) = d.yyyy
)
https://editor.datatables.net/examples/simple/simple.html
注意:这是付费版本