Click here to Skip to main content
15,888,283 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Thank you codeproject that always teaching me new things. But this time Im out of ideas to deal with this situation.

SITUATION:

Let, say a college have multiple course with different departments on it. And each department has multiple workshop, students and faculties.

How to make a Database for this situation.

i.e: ABC college offers 3 courses. Course A, Course B, Course C.
and Course A has DEPTARTMENT_A, DEPTARTMENT_B, DEPTARTMENT_C.

How to build database... ?

What I have tried:

Didnt tried anything but looking for solution.
Posted
Updated 21-Apr-18 10:08am

1 solution

Create a Colleges table.
Create a Courses table. Add a foreign key to the ID of the Colleges table.
Create a Departments table. Add a foreign key to the ID of the Courses table.
 
Share this answer
 
Comments
Babai JermenKeller Sasmal 21-Apr-18 22:33pm    
this worked..... ty OrginalGifff......
OriginalGriff 22-Apr-18 3:29am    
You're welcome!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900