I have two tables structured like this.
Projects Departments
ProjID PK DeptProjID PK
ProjName ProjID FK
DeptProjName
Data in them looks like this
Projects
ProjID ProjName
1 Printer Repair
2 Installs
3 Moves
Departments
DeptProjID ProjID DeptProjName
1 0 Development
2 3 <null>
3 1 <null>
4 0 Maintain
I want to get this result
Project ID Project Name
1 Development
2 Moves
3 Printer Repair
4 Maintain
Oh almost forgot this is on SQL Server 7.0.
I can do simple queries but I can not figue this one out.
AJ
Projects Departments
ProjID PK DeptProjID PK
ProjName ProjID FK
DeptProjName
Data in them looks like this
Projects
ProjID ProjName
1 Printer Repair
2 Installs
3 Moves
Departments
DeptProjID ProjID DeptProjName
1 0 Development
2 3 <null>
3 1 <null>
4 0 Maintain
I want to get this result
Project ID Project Name
1 Development
2 Moves
3 Printer Repair
4 Maintain
Oh almost forgot this is on SQL Server 7.0.
I can do simple queries but I can not figue this one out.
AJ