InterviewSolution
Saved Bookmarks
| 1. |
Consider the tables given below :Table : FacultyTeacherIdNameAddressStatePhone NumberT101Savita SharmaA-151, Adarsh ViharDelhi991019564T102Deepak GhaiK-5/52,VikasMumbai893466448T103MahaLakshmiD-6Delhi981156568T704Simi AroraMumbai658777564Table : CourseCourseld SubjectTeaeherldFeeC101Introductory MathematicsT1014500C103PhysicsT1015000C104Introductory Computer ScienceT1024000C105Advance Computer ScienceT1046500(i) Which column is used to related the two tables?(ii) Is it possible to have a primary key and a foreign key both in one table? Justify your answer with the help of table given above |
|
Answer» (i) TeacherId. (ii) Yes,CourseId is the primary key and TeacherId is the foreign key. |
|