I have two tables,
CREATE TABLE ActivityCodes ( ActivityCodeID INT NOT NULL PRIMARY KEY, LocationID INT NOT NULL );
and