How to merge data from from separate requests into one table

Hey Everyone,
I am trying to find a solution to my query.

In my app, there is a search bar. The data entered in this search bar searches the person from the Postgres DB. There is only one response ever because its user data.

Using the id of the returned response, I make a GET request which is shown in another table. The returned response is only one field or column.

I wanted to ask is there any way that I can show the content of table 2 as a row in table 1.

Please let me know if I am not clear.
Thanks :slight_smile:

Hey lelouchB, happy to help with this 😊

To help I need a little more context. When you say you want to show the contents of table 2 as a row in table 1, do you mean you want to show the single field returned from the GET request you reference in the table where the results from the search bar are shown?

2 Likes

Hey @everett_smith

I want to show the contents of the table2 as a column and not a row.

Yes, I want to show the single field returned from the GET request in the table where results from search bar are shown.

Thanks