Annoscia85
Registered User.
- Local time
- Today, 05:18
- Joined
- Aug 16, 2011
- Messages
- 32
Hi all,
I'm trying to join two tables together that dont have the same column names, I can get this to work on my other tables, but for some reason this join isn't returning the data from
the tables.
These are my two tables:-
Material_Cost
ID(PK)
Machine_Type
Hourly_Rate
Machine_Charge_Out
ID (PK)
Part_No-length
Weight_Per1000
Finished_Weight_kg
Scrap_Rate_kg
Costing_Time
Percentage
Scrap_Value
This is my join below:-
SELECT Machine_Charge_Out.Machine_Type, Material_Cost.Finished_Weight_kg
FROM Material_Cost INNER JOIN Machine_Charge_Out ON Material_Cost.Part_No_length = Machine_Charge_Out.Hourly_Rate;
Many thanks in advance
I'm trying to join two tables together that dont have the same column names, I can get this to work on my other tables, but for some reason this join isn't returning the data from
the tables.
These are my two tables:-
Material_Cost
ID(PK)
Machine_Type
Hourly_Rate
Machine_Charge_Out
ID (PK)
Part_No-length
Weight_Per1000
Finished_Weight_kg
Scrap_Rate_kg
Costing_Time
Percentage
Scrap_Value
This is my join below:-
SELECT Machine_Charge_Out.Machine_Type, Material_Cost.Finished_Weight_kg
FROM Material_Cost INNER JOIN Machine_Charge_Out ON Material_Cost.Part_No_length = Machine_Charge_Out.Hourly_Rate;
Many thanks in advance