I\'m trying to create an API endpoint that will show two columns from two different SQL tables using a primary key. While the query works in DB browser, in the API it only r