How can I run a query based on an ID?

When table renders, how can I run a query based on an ID? When I render a table, I get a list, which includes an ID. Based on those ID's, I want to perform a query with that ID.

Hi Thang! If you use {{tablename.selectedRow.data.id}} anywhere inside the query, you’ll reference the ID value of the highlighted table row. If you’re using an SQL query you could do select \* from products WHERE id = {{tablename.selectedRow.data.id}} or you could use that same {{}} tag inside the setup values of other components

If you haven’t already looking at it, the left pane in the editor (opens in the from the top right corner of the app) is really useful for visualizing the data inside components, labeled by the correct syntax to select it.