How to join comma separated column values with another table as rows
问题 I am trying to join two tables by first converting a comma separated values from a column "SupplierId" which I am doing successfully. However, the issue comes in when I try joining to another table 'Vendors' with the Supplier names via a foreign key 'DCLink'. This is what I mean: The select statement for the Original Table, SELECT InquiryId, SupplierId FROM Procure_InquiryDetails Gives this result InquiryId SupplierId 1 2,3 2 175 3 170,280 5 7 12 8 5,9 I am able to split the columns from