EBK DATABASE CONCEPTS
EBK DATABASE CONCEPTS
7th Edition
ISBN: 9780133544886
Author: AUER
Publisher: PEARSON CUSTOM PUB.(CONSIGNMENT)
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 2, Problem 2.19RQ

Explanation of Solution

According to the reference of book, the terms “primary key” and “foreign key” are defined as follows:

Primary key:

  • Primary key is like a candidate key in which it uniquely identifies each row in a relation.
    • For example consider that there is an “Employee” table in which “emp_id” is unique so it is chosen as a primary key in database table.
    • In this book, primary keys are underlined.

Foreign key:

  • To maintain the relationship between the database tables, the values are placed from one relation to second relation.
  • The values used in first relation come under the primary key values whereas the values that are referred in second relation come under the foreign key...

Blurred answer
Students have asked these similar questions
What use does using keys serve exactly?
Explain the difference between Primary Key and Foreign Key , give example
is it true that a foreign key is a column in one table that contains the primary key value of associated object?select the correct answera)trueb) false
Knowledge Booster
Background pattern image
Computer Engineering
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-engineering and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
CMPTR
Computer Science
ISBN:9781337681872
Author:PINARD
Publisher:Cengage
Text book image
A Guide to SQL
Computer Science
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Course Technology Ptr
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
Oracle 12c: SQL
Computer Science
ISBN:9781305251038
Author:Joan Casteel
Publisher:Cengage Learning
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage