We do the INTERSECTION of the two table to get the common records from both of tables.
Syntax:
SELECT * FROM table1 INTERSECTION table2.