databases and speadsheets
DESCRIPTION
Lesson 4. Databases and Speadsheets. Lesson Objective: Understand the main features and differences between Database and Spreadsheet software. Learning Outcome: Clearly identify the uses of both types of software and use the correct terminology when describing their functions. Question. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Databases and Speadsheets](https://reader035.vdocuments.net/reader035/viewer/2022062500/56814f5a550346895dbd0b77/html5/thumbnails/1.jpg)
Databases and Speadsheets
Lesson Objective:
Understand the main features and differences between Database and Spreadsheet software.
Learning Outcome:
Clearly identify the uses of both types of software and use the correct terminology when describing their functions.
Lesson 4
![Page 2: Databases and Speadsheets](https://reader035.vdocuments.net/reader035/viewer/2022062500/56814f5a550346895dbd0b77/html5/thumbnails/2.jpg)
Question
What’s the point of today’s lesson?
![Page 3: Databases and Speadsheets](https://reader035.vdocuments.net/reader035/viewer/2022062500/56814f5a550346895dbd0b77/html5/thumbnails/3.jpg)
Which software do we use?
Database…
Microsoft Access Spreadsheet…
Microsoft ExcelNB In the exam DO NOT mention specific software products like those above. Always refer to them as Database and Spreadsheet applications.
![Page 4: Databases and Speadsheets](https://reader035.vdocuments.net/reader035/viewer/2022062500/56814f5a550346895dbd0b77/html5/thumbnails/4.jpg)
Table (FILE) structure
This is a
RECORD
Each Record contains at least one FIELD
This is the FIELD NAME
NB The exam board prefer to call these things FILES as and not Data Tables … try not to get confused
![Page 5: Databases and Speadsheets](https://reader035.vdocuments.net/reader035/viewer/2022062500/56814f5a550346895dbd0b77/html5/thumbnails/5.jpg)
Key features of databases
Storing large amounts of structured data (using data types and validation)
Searching for items (queries)
Sorting items (queries)
Producing Reports
![Page 6: Databases and Speadsheets](https://reader035.vdocuments.net/reader035/viewer/2022062500/56814f5a550346895dbd0b77/html5/thumbnails/6.jpg)
File and Key Field
Each table usually has a KEY FIELD. The Key Field is UNIQUE to
the record.
The Key Field is used to refer to the record in other data tables (FILES)
![Page 7: Databases and Speadsheets](https://reader035.vdocuments.net/reader035/viewer/2022062500/56814f5a550346895dbd0b77/html5/thumbnails/7.jpg)
Two features of key fields
They are UNIQUE to the record
They are used to REFER to the record in other files
![Page 8: Databases and Speadsheets](https://reader035.vdocuments.net/reader035/viewer/2022062500/56814f5a550346895dbd0b77/html5/thumbnails/8.jpg)
Example
PersonID Name Email Phone GenderSMIC001 Chris Smith [email protected] 0795551112 M
JONA001 Angela Jones [email protected] 0771234823 F
SMIC002 Charlie Smithers [email protected] 0793816944 M
WILB001 Barry Williams [email protected] 0783746252 M
OrderID PersonID ProductID Date Dispatched?100 SMIC001 109 11/9/2008 Y
101 SMIC002 45 13/10/2008 Y
102 JONA001 89 16/10/2008 N
103 SMIC001 125 26/10/2008 N
Key Field
Key Field Foreign key when in another table
![Page 9: Databases and Speadsheets](https://reader035.vdocuments.net/reader035/viewer/2022062500/56814f5a550346895dbd0b77/html5/thumbnails/9.jpg)
Flat file / relational database
A Relational database uses keys and foreign keys across the different data tables.
A flat file database does not make use of keys, the same data is often typed in repeatedly (in this example, the continent name)
![Page 10: Databases and Speadsheets](https://reader035.vdocuments.net/reader035/viewer/2022062500/56814f5a550346895dbd0b77/html5/thumbnails/10.jpg)
Queries
Queries are used to limit the number of fields, the number of records and to sort in order.
[Continent] = ‘Europe’ AND [Population] > 40000000
E.g:
![Page 11: Databases and Speadsheets](https://reader035.vdocuments.net/reader035/viewer/2022062500/56814f5a550346895dbd0b77/html5/thumbnails/11.jpg)
Key features of spreadsheets
Formulas to make calculations
Appearance using features like cell fill and conditional formatting
Graphs and charts to display data.
![Page 12: Databases and Speadsheets](https://reader035.vdocuments.net/reader035/viewer/2022062500/56814f5a550346895dbd0b77/html5/thumbnails/12.jpg)
Spreadsheets
Row
Column
Cell
Cells can contain Text, Numbers or Formulae. What is the formula in Cell D16? =B16*C16
![Page 13: Databases and Speadsheets](https://reader035.vdocuments.net/reader035/viewer/2022062500/56814f5a550346895dbd0b77/html5/thumbnails/13.jpg)
Conditional Formulas
What formula would you put in cell C3 to indicate a retake if the exam mark is below 40?
=IF( <B3 40,”Yes”,”No” )
![Page 14: Databases and Speadsheets](https://reader035.vdocuments.net/reader035/viewer/2022062500/56814f5a550346895dbd0b77/html5/thumbnails/14.jpg)
![Page 15: Databases and Speadsheets](https://reader035.vdocuments.net/reader035/viewer/2022062500/56814f5a550346895dbd0b77/html5/thumbnails/15.jpg)
Graph plotting and charts
What would you do to create a chart to show the cost of feeding the animals?
Select the relevant data in columns, then apply the chart wizard