Use app×
QUIZARD
QUIZARD
JEE MAIN 2026 Crash Course
NEET 2026 Crash Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
261 views
in Computer by (49.6k points)
closed by

For the above given database STUDENT-PROJECT, answer the following:

a) Name primary key of each table.
b) Find foreign key(s) in table PROJECT-ASSIGNED.
c) Is there any alternate key in table STUDENT? Give justification for your answer.
d) Can a user assign duplicate value to the field RollNo of STUDENT table? Justify.

1 Answer

+1 vote
by (51.9k points)
selected by
 
Best answer

a) STUDENT - Roll No

PROJECT - ProjectNo

PROJECT ASSIGNED - Registration_ID

All above stated are primary keys because they are unique and cannot not be NULL.

b) Registration_ID and ProjectNo both are foreign keys because they refer to the STUDENT and PROJECT table respectively.

c) Yes, Registration_ID is an alternate key because not two students can have the same registration number.

d) No, because Roll No is a primary key in the student table and duplicate values for primary keys is not allowed.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...