0% found this document useful (0 votes)
2 views

Lesson 1 PowerPoint

The document outlines the structure and design of a database for managing till slip data, detailing various fields, their data types, and sizes. It categorizes data into business and item-related fields, and discusses the conversion of this data into a database format with tables and records. Additionally, it defines key database terminology such as tables, records, and fields, emphasizing the importance of primary keys for record identification.

Uploaded by

Simphiwe Mkhize
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Lesson 1 PowerPoint

The document outlines the structure and design of a database for managing till slip data, detailing various fields, their data types, and sizes. It categorizes data into business and item-related fields, and discusses the conversion of this data into a database format with tables and records. Additionally, it defines key database terminology such as tables, records, and fields, emphasizing the importance of primary keys for record identification.

Uploaded by

Simphiwe Mkhize
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

Data and Information

Management
Database design and concepts

1
Data in a till slip…
FIELD
Business name
Address
Tel no
Fax no
Vat no
Licence number
Item
Number of Item
Mass
Prize per mass
Prize
Non taxable
Total number of items
Balance due
2
Data type…
FIELD Datatype
Business name Text
Address Text
Tel no Text
Fax no Text
Vat no Text
Licence number Text
Item Text
Number of Item Number
Mass Number
Prize per mass Currency
Prize Currency
Non taxable Yes/No
Total number of items Number
Balance due Currency
3
Field size…
FIELD Datatype Field Size
Business name Text 40
Address Text 120
Tel no Text 10
Fax no Text 10
Vat no Text 12
Licence number Text 20
Item Text 30
Number of Item Number Byte
Mass Number Single
Prize per mass Currency
Prize Currency
Non taxable Yes/No True/False
Total number of items Number Integer
Balance due Currency
4
Categorize data …
FIELD Datatype Field Size
Business name Text 40
Address Text 120
Tel no Text 10
Fax no Text 10
Vat no Text 12 Business Items
Licence number Text 20 Business name Item
Item Text 30
Address Number of item
Number of Item Number Byte
Mass Number Single Tel no Prize
Prize per mass Currency Vat no Total number of items
Prize Currency
Fax no Mass
Non taxable Yes/No True/False
Total number of items Number Integer Licence number Prize per mass
Balance due Currency

5
Compare with other till
slips…

6
Add extra fields /
categories…
Business Items Amount
Business name Item Balance due
Address Number of item Taxable value
Tel no Prize Tax value
Vat no Total number of items Non taxable value
Fax no Mass
Licence number Prize per mass

7
Convert to a database
Business Items Amount
Business name Item Balance due
Address Number of item Taxable value
Table
Tel no
Vat no
Prize
Table Table
Tax value
Total number of items Non taxable value
Fax no Mass
Licence number Prize per mass

Business Business name Town Tel no Vat no Fax no Licence no


Great Brak Spar Great Brak RiverUniqu
0446202428 Uniqu 0446203264
4430210338 Uniqu
Fraai Uitsig Spar Klein Brak River e
0446966001 e
4280237357 e
0446966333 Unique
WCP/034510
Checkers George value
0448028700 value
4420106777 value values
Dis-Chem George 0448019800
s 4010254938
s s
Wordsworth Books George 0448870224 4530135666 0448870226 2011/075223/23

8
Convert to a database

Business Business name Town Tel no Vat no Fax no Licence no

TABLE
Great Brak Spar Great Brak River
0446202428
RECORD 4430210338 0446203264
FIEL
Checkers
FIEL
Fraai Uitsig Spar Klein
George
FIEL
Brak River
0446966001
RECORD 4280237357
FIEL 0446966333
0448028700 4420106777
FIEL
FIEL WCP/034510
D 0448019800 RECORD D
D 4010254938 D
D
Dis-Chem George
RECORD D
Wordsworth Books George RECORD
0448870224 4530135666 0448870226 2011/075223/23

9
Terminology with examples from a
Database: existing database
• a large collection / structured set of data
that is organized so that its contents can
easily be searched, accessed, managed,
updated and retrieved using a computer.

• Exists of table/s.

10
Terminology …
Table:
• a set of data elements organized and
grouped by common / same characteristics or
principles
• In vertical columns and horizontal rows.
• Each row represent a record and
• each column represent a field.

11
Terminology …
Record:
• A set of related data of a single entity.
• Exists of a number of fields.

Primary key:
Unique field to identify records
• No duplicate values in this field
• Cannot be empty

12
Terminology …

Field:
• The smallest part of data that can be
addressed.

13
To summarize

14

You might also like