Vous êtes sur la page 1sur 1

What is a Database? It stores, manages and extract a large amount of organised information for one or more users.

For example when you borrow a library


book the information of the book its stored in the library database, and the organization can check to see where is the book and which member has it on
loan.

Database 1: Library System

Member Datatype

Member ID Text Books Data Type


Primary Key ->
Primary Key -> Book ID Text
First Name Text
Book Title Text
Surname Text
Author Text
Address 1 Text Published Date/Time

Address 2 Text Categories Text

Pose Code Text That is the Validation when something not belong gets
written it rejects it. It is meant to check specific words.
Database 2: Choosing the right data validates the information to the table

1. Table Structures
Loans Data Type
2. Field Characters Primary Key -> Loan ID Text
3. Records Foreign Key -> Member ID Text
4. Relationships
Foreign Key -> Book ID Text
5. Forms
Book Title Text
6. Sort Author Text
7. Queries Books Available Number
8. Validation Date Date/Time
9. Input Mask Price Currency
10. Validation rule Returned items Boolean

Customer ID Name Address Book Title Book ID

2425142 Josh Elbert 32 Bear Lane How your life “Throws” 89637142

6753592 Bruce Walker 512 Rainbow Road Reading “for DUMMIES” 34217952

Primary Key is a unique type of data that will identify the record. Examples like Member ID are a primary key because they tell you the
identification for that particular row.
Foreign Key is a type that matches the Primary column of another table.

Text
Number
Date/Time
Currency
Boolean
Data types are important because it helps validate the right information
Like shop uses currency data type.
Boolean is basically yes/no

This is a Member ID Database that will show the Name, Address and
One to Many Postcode. The Primary ID will locate at the name if it needs to be
identified so they can check address and postcodes.

Member Loan Book


This is a Relationship set that can associate between relation Queries are meant to show a specific view of the data that is
types. needed for a particular user or requirement. You can develop
queries from single tables or from a series of related tables.
One too many can make one relate to a lot of things, like when
it connects to a similar saying ID
Many to Many
One to One

Vous aimerez peut-être aussi