I have two SQL Server tables (simplified) below:
Table1
| productname | certno | expdate | company +-------------+--------+------------+--------- |