Prøv dette
select one.*
from tableOne as one
inner join tableTwo as two
on one.companyID = two.companyID and
one.someYear = two.someYear
Prøv dette
select one.*
from tableOne as one
inner join tableTwo as two
on one.companyID = two.companyID and
one.someYear = two.someYear
Sådan opretter du historik ELLER reviderer visninger fra Change Data Capture (CDC) tabeller i SQL Server - SQL Server Tutorial
Hvordan forbinder man docker-containere på build?
Konverter 'datetime offset' til 'date' i SQL Server (T-SQL-eksempler)
Sådan tvinges MySQL til at tage 0 som en gyldig automatisk stigningsværdi