Best practices for storing multiple SQL tables per user (built from uploaded csv file?)
One option is to use different schemas per user, and then tables with the convention you want.

CREATE TABLE '&lt;user_id&gt;'.'&lt;filename&gt;'...