I'm working on a query that will copy one column from table A to table B when a button is clicked. For efficiency, I'd like only new data added instead of copying every single value every time.
This is what I've started with.
UPDATE tableB
INNER
JOIN tableA
ON tableA.columnName = table2.columnName
SET tableB.columnName = table1.columnName
WHERE tableB.columnName = 'columnName'