I have two tables as below, one with Question table and other with option values but without common columns and also pasted the expected output. here i have used Outer Apply