外键的数据类型最好和相应主键的数据类型一致

否则两个表进行连接查询时,主键上的索引可能会失效

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.