Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7612079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:49:14+00:00 2026-05-31T01:49:14+00:00

I am developing a database that shows the educational process in college. Students specialize

  • 0

I am developing a database that shows the educational process in college.
Students specialize in the departments and they have a supervisor of their department.
In the fourth year students write bachelor’s graduate work, which criticizes a teacher from another department.
I identified several entities: departments, students, teachers. And additional entity: works

STUDENTS table

  • stud_id
  • name
  • dep_id

WORKS table

  • work_id
  • title
  • supervisor_id
  • critic_id
  • stud_id

TEACHERS table

  • teach_id
  • name
  • dep_id

DEPARTMENS table

  • dep_id
  • title

It turns out that the fields supervisor_id and critic_id link to a field teach_id in the table TEACHERS. How can I solve this problem? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T01:49:15+00:00Added an answer on May 31, 2026 at 1:49 am

    It may be the case where a Teacher may not also be a Supervisor.

    You need an extra table- SUPERVISORS, just like TEACHERS, however, instead of “name” and “dep_id”, those fields go into another table called “STAFF”.

    So, SUPERVISORS and TEACHERS both have a field called “staff_id” which joins to STAFF for their name/department, and SUPERVISOR_ID links to a SUPERVISOR, while CRITIC_ID links to a TEACHER.

    To summarize, 6 tables: STUDENTS, STAFF, WORKS, TEACHERS, SUPERVISORS, DEPARTMENTS.

    Join Works to Students by stud_id, to Supervisors by supervisor_id, and to Teachers by critic_id

    Join Supervisors to Staff by staff_id

    Join Teachers to Staff by staff_id

    Join Staff to Departments by dep_id

    Make sense?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been developing an application that required the SQLite database file to be
I am developing a database-like application that stores a a structure containing: struct Dictionary
I'm developing an Access 2003 Database that uses a MS SQLServer backend. I'm trying
I am currently developing a very simple database that tracks people and the company
I am currently developing a Rails application using a database that was designed before
I am developing a Java Desktop Application and want a light database that can
I'm developing an iPhone app that uses the built-in SQLite database. I'm trying to
I am developing an iPhone application that persists data to a SQLite3 database. For
I am developing RoR application that works with legacy database and uses ActiveScaffold plugin
I am developing a hibernate application that connects to a MySQL database. The customers

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.