I am designing a Entity relationship diagram using Microsoft Visio 2010 and using Database Model Diagram.
I have 2 tables, Student table which has Student ID (Primary key) and Course ID (should be foreign key) and i have a Course table which has Course ID (Primary key). My problem is i can not link the course ID in the course table to the course id in the student table as a many to one relationship. Each time i do it, the student id displays in the course table and it automatically makes that a foreign key.
Any ideas?
Thanks