Topic 3-Database Concepts Flashcards
Table
A table consisting of a number of records
Record
A record is represented as a row in a table
Field
A field is part of a record that stores a single data item,represented by a column
Key field
A key field uniquely identifies one record
Query
A query searches snd filters data in a database that satisfies the query criteria
Forms
Forms are used to collect data to create a new record,modify an existing record or view records already stored in a table
Reports
Reports are used to present results from queries in an efficient manner
The layout of reports can be customised,such sd grouping similar data or presenting data in ascending or descending order
Macros
- Macros are small programs that are written to preform a repetitive database task automatically
- They are used to add functionality to forms and reports
- Running a macro will result in instructions stored within the macro being executed with a single click of a button
Database relationships
- Database relationships link two or more tables in a database using a relationship type
- For this to happen,a common field must be stored in each table;the key field from one table as a non-key field (also called a ‘foreign key’)
- Relationships are defined as one-to-one, one-to-many or many-to-many
Importing data
- It is possible to import a number of worksheets from a spreadsheet to a database package or vice versa
- This gives organisations more flexibility in handling their data
Text
Text and data that is a mixture of text and numbers,e.g. as a postcode
Number
Numeric data that requires a mathematical calculation
Date/Time
Dates and times
Currency
Monetary data;includes 2 decimal places
Autonumber
To create a key field,the computer generates sequential numbers that are automatically inserted for each new record created