does the id match in both ?
i.e if you have details in tableA with id 1, do the details in table B id 1 belong to its table a partner?
if so, is this true for the whole recordset?
We can then select table A id=1 where table b id=1 to give us related records.
Are you going to make a completely new table or modify one of the existing ones?
Alter your table to add the fields required (or make a new table so that there is no risk of data loss if your query is wrong).
INSERT INTO new_table (field1,field2,field3,etc,etc) SELECT a.field1,a.field2,a.field3,b.field1,b.field2,b.field3) FROM TABLE_A a, TABLE_B b where a.id = b.id;
***************************************
Party on, dudes!
![[cannon] [cannon] [cannon]](/data/assets/smilies/cannon.gif)