Guest User

Untitled

a guest
Oct 18th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <cfquery name="getResultSet">
  2. SELECT ( SELECT ProductName + ','
  3.            FROM table2 t2
  4.            WHERE t2.id = t1.id
  5.            FOR XML PATH('') ) AS a,
  6.     b,
  7.     c
  8.       FROM table1 t1
  9. </cfquery>
Add Comment
Please, Sign In to add comment