标签: mysql
我想将一个表中的两个外键(city_id和country_id)与两个主键相关联,每个主键位于不同的表中。这是正确的语法吗?
FOREIGN KEY (city_id) REFERENCES cities(id), FOREIGN KEY (country_id) REFERENCES countries(id)