Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
+1 vote
11.1k views
in Information Technology by (71.3k points)

In a Bank’s database, there are two tables ‘Customer’ and ‘Transaction’ as shown below.

Customer

Acc_No Cust_Name Cust_City Cust_Phone Open_Bal
2101001 Sunita Ambala 9710557614 10000
2201002 Sandhya Patna 8223545233 15000
2301003 Vivek New Delhi 9972136576 13000
2401004 Meena New Delhi 9321305453 10000

Transaction

Trans_Id Acc_No Transaction_Type Amount
Tr001 2301003 Credit 15000
Tr002 2201002 Credit 20000
Tr003 2101001 Debit 3500
Tr004 2301003 Credit 26000
Tr005 2301003 Credit 24000

Consider these tables while attempting the questions given below:

(i) Identify the candidate keys of Customer table.

(ii) Briefly explain the concept of Candidate keys.

(iii) Which column can be considered as foreign key column in Transaction table?

(iv) Identify Primary Key column of Transaction table.

1 Answer

+2 votes
by (76.5k points)
selected by
 
Best answer

(i) Acc_No, Cust_Phone

(ii) All the columns having capability to become Primary Key are known as Candidate Keys.

(iii) Acc_No

(iv) Trans_Id

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

...