Joining an Uploaded CSV with data from a query that uses postgresql DB data

I need to Left join 2 tables, one is part of our normal DB (postgresql) and the other is an uploaded CSV file. the csv file data structure always appears with a numerical array above the column keys.
eg
CSV_Table
-0 2keys
-name
-user_id
-1 2keys
-name
-user_id
-2 2keys
-name
-user_id
-and so on

the table to left join to is structured normally
query1_SQL_Table
-name
-users_id

How would I go about joining these 2 datasets? is there a ways to format the uploaded CSV to be in the correct format. It displays normally on a table... I have tried uploading it as an xlsx, using google sheets and other things but always get the same result

I can display both tables at once if I select * form {{query1_SQL_Table.data}}, {{upload1.parsedvalue}},

but when you {{upload1.parsedvalue.name}}=undefined
{{upload1.parsedvalue['0'].name}} = gives you the name under the name key in that 0 entry
but i want all names from all entries 0-500