ALTER TABLE developer
ADD CONSTRAINT developer_country_code
FOREIGN KEY (country_code) REFERENCES country(code);
ALTER TABLE component
ADD CONSTRAINT component_developer_name
FOREIGN KEY (main_developer_name) REFERENCES developer(name);