fix: #3565422 Replace SQL table alias user which is invalid in PostgreSQL

Closes #3565422

Merge request reports

Loading