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