I need to join seperate values from two different CSV sources in the QGIS model builder.
I have used the answer from Modeler does not allow choosing of CSV for joining in QGIS with the following code
SELECT *, make_point(0,0) AS geometry
FROM input1
What I do not understand is: Do I have to change input1 to input2 or something similar when joining two CSVs or is input1 okay for both steps ? "Szenario CSV" and "Sanierung 2040 mit heating age CSV" are my CSV sources. I do not get an error.

(SELECT *, make_point(0,0) AS geometry FROM input1) UNION ALL (SELECT *, make_point(0,0) AS geometry FROM input2)?