Adding a grafana link

I have two tables. Each of them have the same ID columns…
I want to create a link in one table such that when I click a link in one table, it will link to the other table and display data of the same ID only

it should fetch only one data in the second table when i click the first one