MySQL multiple Id lookups
问题 I'm trying to add a full text search to a system. The query I want to write needs to involve multiple lookups followed by the search (if that's even possible). I've got a table of teachers and a table of subjects. teacherProfile teacherId [int] - primary key subjectOneId [int] subjectTwoId [int] subjectThreeId [int] teacherBiography [text] subjects subjectId [int] subjectName [text] So ultimately I want a resultset along the lines of.. teacherId [int] teacherBiography [text] ( subjectOneName