0
我的用户想要一个报告,在多行表中重复多行的行和列直到多行的所有行都完成。 什么是最好的方式来编写查询? 我希望能得到我想要的东西在一个报告中代表一对多关系,并且在一行中获取多个表而不是col
______________________________________________________________________________________
|table(1) | table(2) |
|---------------|--------------------|--------------------|------|--------------------|
|table(1) (row1)|table(2 of 1)(row 1)|table(2 of 1)(row 2)| .... |table(N of 1)(row X)|
|---------------|--------------------|--------------------|------|--------------------|
|table(1) (row2)|table(2 of 2)(row 1)|table(2 of 2)(row 2)| .... |table(N of 2)(row y)|
|---------------|--------------------|--------------------|------|--------------------|
|table(1) (row3)|table(2 of 3)(row 1)|table(2 of 3)(row 2)| .... |table(N of 3)(row Z)|
|---------------|--------------------|--------------------|------|--------------------|
...
...
...
我真的不明白......你能举一个真实数据的例子吗? –
@Mark Byers:我编辑它。谢谢 – Mohsen