我正在尝试按如下方式显示数据。它在同一主标题下具有不同的标题行。并且 1 evid 可以有任意数量的 docref 。最后没有主列标题只有子列标题。请帮助。(我使用的是sql server 2012)
EVID Basis Period Evidence AssignedTo EVEditors FileName
1234 CAI 2011 Load Jack jack,jill caidoc.txt
DocRef Specific LastUser DocType DocTitle DocID
12 report jack case abc 111111
fileName url details
xyz sometext sometext
linkText Notes
some text some text
DocRef Specific LastUser DocType DocTitle DocID
13 report2 jill case2 abc 22222
fileName url details
xyz sometext sometext
linkText Notes
some text some text