Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 1 out of 3 pages
Summary

Summary Unit 2 Creating system to manage information Keywords

Document preview thumbnail
Preview 1 out of 3 pages

it for unit 2 and its about the definitions of the keywords.

Content preview

Name: Sabiha Choudhury
BMC171817858
Unit 2 Creating systems to manage information
Classwork Homework

Primary Key
Primary keys (columns) in a table are a minimal set of attributes that uniquely identify each
tuple (row) in the table. The database designer can select any of the candidates as the
primary key on a table if it contains one primary key.
 Table rows should all have unique values for the primary key.
 The primary key of a table is usually one of the fields, which can either be a number
or another data type.
 One of the main attributes of a primary key is that it must contain a unique value
for each row of data and null values are not permitted.




Foreign Key
In a relational database table, a foreign key is a column or field that links records in two
different tables. It does this by referencing the primary key of one table and accessing it
through another table. For foreign keys to function, two tables need to be given a
relationship.




Candidate Key
Candidate keys are the fields that contribute most to uniquely identifying a tuple.
Candidates keys refer to the fields from which the primary key can be selected. In SQL,
candidate keys may contain multiple attributes. The main purpose of the candidate is to
offer multiple options to the database designers so that suitable primary key can be
selected.

Document information

Study Level
Uploaded on
December 10, 2021
Number of pages
3
Written in
2021/2022
Type
Summary
£9.39

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
2
Last sold
-


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions