The document outlines the functions and elements of a Database Management System (DBMS), focusing on the structure of a database schema, which includes tables, columns, rows, data types, keys, and relationships. It explains primary and foreign keys, illustrating their roles in linking tables and maintaining data integrity. Additionally, it touches on queries and database reports, concluding with a note that this is Part 1 of the content.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
2 views19 pages
Whatisadatabase
The document outlines the functions and elements of a Database Management System (DBMS), focusing on the structure of a database schema, which includes tables, columns, rows, data types, keys, and relationships. It explains primary and foreign keys, illustrating their roles in linking tables and maintaining data integrity. Additionally, it touches on queries and database reports, concluding with a note that this is Part 1 of the content.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19
A List of Functions of a DBMS
Example of a Database Schema
A schema is quite simply a group
of related objects in a database. Within a schema, objects that are related have relationships to one another Elements of a Database Schema: • Tables • Columns (Fields) • Rows (Records) • Data Types • Keys • Relationships • Queries • Reports What are Tables?
Last School Name Age Date of Birth Attended
Mary Jane 18 5th December 1986 Tichfield
Comprehensive
John Brown 19 4th of May 1985 Ocho Rios High School
What are Columns? What are Rows? What are data types? What are Keys? Primary Keys
ID (PK) ITEM PRICE
12202 Sugar $45.00 12345 Milk $200.00 21234 Bread $150.00 Foreign Keys A foreign key is the combination of one or more column values in a table that reference a primary key in another table. Foreign keys are defined in child tables. A foreign key ensures that a parent record has been created before a child record. Customer id Name email cu12 Jacob Miller [email protected] cu8 Mary Jackson Mar_Jack32@hotm ail.com
ID ITEM PRICE Customer
(PK) 12202 Sugar $45.00 cu12 12345 Milk $200.00 cu12 21234 Bread $150.00 cu8 What are Relationships? Types of Relationships: Understanding Queries What are Database Reports? This Concludes Part 1