214 views
0 votes
0 votes
A: Professor(prof_id,prof_name)

     Student(stud_id,stud_name)

professor-----teaches------Student

 

B: Professor(prof_id,prof_name,prof_mobile_number)

    Student(stud_id,stud_name,stud_mobile_number)

    Parent(parent_name,parent_mobile_number)

Professor---------Student---------Parent

?

1 Answer

1 votes
1 votes

A: Professor(prof_id,prof_name)

     Student(stud_id,stud_name)

professor-----teaches------Student

    .........................................

if it is to many to many relation then number of tables required is 3 other wise 2

Related questions

5 votes
5 votes
1 answer
1
Dulqar asked Jan 6, 2017
9,585 views
Given R with n tuples S with m tuples n<m then How many minimum and maximum tuples in follwing relations . Please Justify with Reason / ExamplesR-SS-RR Left Join SR Nat...
2 votes
2 votes
1 answer
2
2 votes
2 votes
3 answers
3
Laahithyaa VS asked Sep 9, 2023
932 views
. What will be the value returned by the following function, when it is called with 11?recur (int num){if ((num / 2)! = 0 ) return (recur (num/2) *10+num%2);else return 1...
5 votes
5 votes
1 answer
4
Ashish Sharma 3 asked Nov 24, 2017
2,663 views
How many minimum relations required for the above ER diagram?According to me it should be 7. Please let me know the answer according to you.