Now, I am studying the database, for that I am making the question management system.
The system is serviced on website, and it's function is ...
- Sign form - divided into student and administer
- Students must ask at least one question for appointed date.
- On web, the site members can search the question and answer, and administer can export the related data such as, their class.
(If my explanation insufficient than comment to my question)
And this is my schema
Student
=================
primary key ID (int)
NAME (char[])
STUDENT ID (char[])
SIGN DATE (???)
MAJOR (char[])
QUESTION ACCEPT (boolean) - expired automatic false ————— ???
Class
================
primary key ID (int)
CLASS NAME (char[])
PROF (char[])
QUESTION EXPIRED DATE
Question
================
primary key ID (int)
QUESTION CATEGORY (char[])
QUESTION (chat[])
ANSWER (char[])
STUDENT LINK ???
CLASS LINK ????
Is it efficient and well designed? I think the student table and question table must be one to many relation, but it is confusing me.
I need explain of database relation and how to design the database.
