Chapter 3 (Ariana) Flashcards
(82 cards)
What does a table in a database consist of?
A table consists of rows and columns, referred to as records and fields respectively.
What is a record in a database table?
A record is represented as a row in a table and consists of data items related to an object or person.
What is a field in a database table?
A field is part of a record that stores a single data item, represented by a column in a table.
What is the key field in a database table?
The key field (or primary key) is the field used to uniquely identify one record.
What is the purpose of queries in a database?
A query is a way of searching and extracting data from a database to find the answer to a question.
What are the three tools available in a database software package?
Queries, forms, and reports are three tools available in a database software package.
What is a flat file in the context of databases?
A flat file is a two-dimensional table where data is organized into files, rows, and columns.
What is the significance of CustomerID in the customer table?
CustomerID is the key field that uniquely identifies each customer in the table.
What is the key field in the customer table?
The key field is CustomerID; each customer has a unique ID.
What are the three tools available in a database software package?
Queries, forms, and reports.
What is a query in a database?
A query is a way of searching and extracting data from a database to find the answer to a question.
What does a query do?
The query/search checks each record and produces a list of data that satisfies the query criteria.
What is the purpose of forms in a database?
Forms are used to collect data from people, enter new records, modify existing records, or view records already stored in a table.
How does data entry through forms work?
When data is entered into a form, it is automatically added into the specified table and stored as part of the database.
What is an advantage of using forms for data entry?
Forms make it easier to enter data as one form may include fields from different tables.
How does the database software handle data entry through forms?
The database software ensures that the data is stored in the correct table.
What can a database designer control when using forms?
The designer can control the type and format of the data, ensuring consistency and accuracy.
Can forms be customized?
Yes, forms can be customized to include a logo and color.
What is the purpose of the form mentioned?
The form allows customers to enter events they would like to book, adding details to both customer and booking tables in the database.
What can a report do in relation to database tables?
A report presents tables and results from queries in a user-friendly way, with customizable layouts for visual appeal.
How can data be organized in a report?
Data can be grouped by similar data or sorted in ascending or descending order.
What is a macro in the context of databases?
A macro is a small program that performs repetitive database tasks automatically, adding functionality to forms and reports.
What tasks can macros perform?
Macros can add a new record, delete an old record, and automate other repetitive tasks.
What information is included in the customer record?
CustomerNumber, Surname, First Name, Date of Birth, Gender, Telephone Number, and Email.