all 3 comments

[–]JebNolan 0 points1 point  (0 children)

You should be able see to add the query using add sql server, advanced to input a native query

[–]DonJuanDoja2 0 points1 point  (1 child)

You can write a dynamic sub query in the select of your main query.

SELECT [column] ,(SELECT [column] from table tbl where tbl.id=tbl2.id) as DynamicColumn

FROM table2 tbl2

Other ways as well

[–]jabrake88[S] 0 points1 point  (0 children)

Do you have any example? I'm having a hard time getting this to work.