in Education by
In the section relation which of the following is used as a foreign key? (a) Course_id (b) Course_id,sec_id (c) Room_number (d) Course_id,sec_id,room_number The question was posed to me during an online interview. My query is from Querying database part-1 DDL topic in chapter Database Systems Design and Implementation of Database Management Select the correct answer from above options Interview Questions and Answers, Database Interview Questions and Answers for Freshers and Experience

1 Answer

0 votes
by
Right choice is (a) Course_id Easiest explanation - Course_id is the only field which is present in the course relation.

Related questions

0 votes
    I have the following models: class Project(models.Model): name = models.CharField(max_length=300, unique= ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 22, 2022 in Education by JackTerrance
0 votes
    Which of the following can be used as a primary key entry of the instructor relation. (a) DEPT_NAME ... in section Database Systems Design and Implementation of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    Identify the error in the section relation (a) No error (b) Year numeric (4,0) (c) Building ... topic in portion Database Systems Design and Implementation of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    The relation with the attribute which is the primary key is referenced in another relation. The relation ... Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    5. Which key defines a relationship between two tables? (a) Primary key (b) Foreign key (b) Secondary key (d) ... Full form of RDBMS is Select the correct answer from above options...
asked Dec 21, 2021 in Education by JackTerrance
0 votes
    I am using Laravel 5.7 version. I got the below error for users_activations table while run the command ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 23, 2022 in Education by JackTerrance
0 votes
    I am using Laravel 5.7 version. I got the below error for users_activations table while run the command ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 23, 2022 in Education by JackTerrance
0 votes
    I'm using EF code first. By convention, I have added a foreign key and a reference to the foreign ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 9, 2022 in Education by JackTerrance
0 votes
    I'm trying to add foreign key in my table exam: public function up() { Schema::create('exams', ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 7, 2022 in Education by JackTerrance
0 votes
    Suggestions needed for creating better and efficient search indexes for models having foreign key and many-to-many ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 4, 2022 in Education by JackTerrance
0 votes
    What is the correct definition of foreign key? The common field of two tables. A field that contains unique data ... of another table. Select the correct answer from above options...
asked Dec 15, 2021 in Education by JackTerrance
0 votes
    What is the correct definition of foreign key? The common field of two tables. A field that contains unique data ... of another table. Select the correct answer from above options...
asked Dec 15, 2021 in Education by JackTerrance
0 votes
    In the above DDL command the foreign key entries are got by using the keyword (a) References (b) ... Answers, Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    How can we temporarily disable a foreign key constraint in MySQL?...
asked Feb 1, 2021 in Technology by JackTerrance
0 votes
    What is a Foreign Key?...
asked Dec 8, 2020 in Technology by JackTerrance
...