Home > Back-end >  There are bosses can do me a favor
There are bosses can do me a favor

Time:10-06

Novice small white, stuck here for a week, and a code//add some comments, thank you,
System has characters: teacher, student, course
A teacher can teach many students
A student can be more than the teacher taught
A teacher can speak a course
A student can study more courses
Title:
1, through the student's name printed all the teacher taught him
2, find all the students he teaches through the teacher's name
3, through the course, find all learned which teacher taught students in the course (the course)

CodePudding user response:

You what's the problem? The database?

CodePudding user response:

reference 1/f, etc. 270000 people reply: dark horse programmer
you what's the problem? The database?

Not, an introduction to the topic, required to do is to get in the list and hash

CodePudding user response:

reference 1/f, etc. 270000 people reply: dark horse programmer
you what's the problem? The database?

Curriculum and teachers themselves to define a few is ok

CodePudding user response:

introduction to refer to IT on the second floor, thinning reply:
Quote: reference 1/f, dark horse programmer etc. 270000 people reply:
you what's the problem? The database?

Not, an introduction to the topic, the requirement is to use the list and hash do

Always feel this is a database problem

CodePudding user response:

Problem has been resolved

CodePudding user response:

One-to-one, one-to-many, many-to-one and many-to-many
  • Related