Aceste imagini prezintă tabelul Comenzi şi tabelul Elemente din comandă pentru care s-a efectuat join la coloana ID comandă.
| ID comandă | Total comandă |
|---|---|
| 1001 | 50,97 |
| 1002 | 1249,91 |
| ID comandă | ID produs | Cantitate |
|---|---|---|
| 1001 | 40 | 1 |
| 1001 | 63 | 2 |
| 1002 | 29 | 1 |
| 1002 | 14 | 3 |
| 1002 | 2 | 1 |
| ID comandă | ID produs | Total comandă | Cantitate |
|---|---|---|---|
| 1001 | 40 | 50,97 | 1 |
| 1001 | 63 | 50,97 | 2 |
| 1002 | 29 | 1249,91 | 1 |
| 1002 | 14 | 1249,91 | 3 |
| 1002 | 2 | 1249,91 | 1 |