Hãy thử điều này
select one.*
from tableOne as one
inner join tableTwo as two
on one.companyID = two.companyID and
one.someYear = two.someYear
Hãy thử điều này
select one.*
from tableOne as one
inner join tableTwo as two
on one.companyID = two.companyID and
one.someYear = two.someYear