If I have this statement,
SELECT table1.*, table2_1.`values` AS val_1
FROM table1 JOIN table2_1
ON table1.row_names=table2_1.row_names
I would actually like this the result joined back into table1
. Any inclusion of a join statement after SELECT
and before FROM
gives me an error.
Why can I not save the results to a table, and is it possible to save it back to one of the original tables?