• edited by
30,117 views
93 93 votes

Consider a relational table with a single record for each registered student with the following attributes:

  1. $\text {Registration_Num:}$ Unique registration number for each registered student
  2. $\text {UID:}$ Unique identity number, unique at the national level for each citizen
  3. $\text {BankAccount_Num:}$ Unique account number at the bank. A student can have multiple accounts or joint accounts. This attribute stores the primary account number.
  4. $\text {Name:}$ Name of the student
  5. $\text {Hostel_Room:}$ Room number of the hostel

Which of the following options is INCORRECT?

  1. $\text {BankAccount_Num}$ is a candidate key
  2. $\text {Registration_Num}$ can be a primary key
  3. $\text {UID}$ is a candidate key if all students are from the same country
  4. If $S$ is a super key such that $S \cap \text{UID}$ is $\text{NULL}$ then $S \cup \text{UID}$ is also a superkey

7 Answers

–2 –2 votes
Option B

As a student can have two bank accounts so for this particular student the relation will contain two tuples but for these two tuples registration_num is same so it can't be a primary key..
Answer:
Position:
Show:

Related questions

78 78 votes
5 answers 5 answers
24.9k
24.9k views
go_editor asked Sep 29, 2014
24,862 views
On a non-pipelined sequential processor, a program segment, which is the part of the interrupt service routine, is given to transfer $500$ bytes from an I/O device to mem...
53 53 votes
2 answers 2 answers
19.9k
19.9k views
go_editor asked Sep 29, 2014
19,888 views
Database table by name $\text{Loan_Records}$ is given below.$$\begin{array}{|c|c|c|} \hline \textbf {Borrower} & \textbf {Bank_Manager} &\textbf {Loan_Amount} \\\hline \...
65 65 votes
6 answers 6 answers
18.7k
18.7k views
go_editor asked Sep 29, 2014
18,687 views
Consider a relational table $r$ with sufficient number of records, having attributes $A_1, A_2, \dots ,A_n$ and let $1 \leq p \leq n$. Two queries $Q1$ and $Q2$ are given...
60 60 votes
6 answers 6 answers
20.4k
20.4k views
go_editor asked Sep 29, 2014
20,438 views
Consider a database table T containing two columns $\text{X}$ and $\text{Y}$ each of type $\text{integer}$. After the creation of the table, one record $\text{(X=1, Y=1)}...