SQL query slow
I have two tables, table A & table B, table A is having 10 million records & table B is a GTT with 2 million records. There is a primary key on table A on column A, we want to join Column A of table A and join column A of table B and it is taking time. Please suggest what could be the possible reason.