markedback
MIS
I have two tables: A and B
I would like to append data from one column in Table A to one column in Table B.
The Primary key in Table A is the Foreign Key in Table B.
Is this possible?
Thanks for your help.
Mark.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Why? It sounds like you already have the data. Use a query with a join to retrieve it rather than duplicating data across multiple tables (rarely a good idea).I would like to append data from one column in Table A to one column in Table B.
SELECT tblB.Date,
tblB.EmployeeNumber,
tblA.ProductionUnits,
tblB.HoursWorked,
tblB.Line
FROM tblB
INNER JOIN tblA
ON tblB.EmployeeNumber=tblA.EmployeeNumber