Dear Friends:
I have 2 tables having the following fields:
Stations Printers
---------------- -------------------
Statnum 1 | 2 ID 1 | 2 | 3
Printer1 1 | 0 Type 56| 43| 12
Printer2 2 | 1 Port 2 | 1 | 2
I want with one SQL statement to output the following:
Statnum Printer1 Type1 Port1 Printer2 Type2 Port2
--------------------------------------------------------
1 | 1 | 56 | 2 | 2 | 43 | 1
2 | | | | 1 | 56 | 2
I want the output of one statnum in one row.
Any Suggestions?
I have 2 tables having the following fields:
Stations Printers
---------------- -------------------
Statnum 1 | 2 ID 1 | 2 | 3
Printer1 1 | 0 Type 56| 43| 12
Printer2 2 | 1 Port 2 | 1 | 2
I want with one SQL statement to output the following:
Statnum Printer1 Type1 Port1 Printer2 Type2 Port2
--------------------------------------------------------
1 | 1 | 56 | 2 | 2 | 43 | 1
2 | | | | 1 | 56 | 2
I want the output of one statnum in one row.
Any Suggestions?