Practice For The Test
Practice For The Test
Practice For The Test
Creating a Database:
How do you create a new database in MS Access?
Free Entry. If Access is open already, choose File > New. Either choose a template or
choose Blank database. After choosing a location and entering the database's name, click
Create.
What are the different data types you can use when creating tables?
Information such as text, numbers, dates, and hyperlinks.
Designing Tables:
Explain the concept of fields and records.
A record is a set of particular data, such as details about a certain employee or product. A
domain: includes information about a single feature of the table subject, like the email
address or first name.
How do you set the primary key for a table, and why is it important?
The column or columns with values that uniquely identify each row in a table are known as
primary keys. For Optim to insert, update, restore, or remove data from a database table,
the table needs a primary key.
Queries:
How do you create a query in Access to retrieve specific information from a
table?
1. Open your database and go to the "Create" tab.
2. Click on "Query Design" in the "Queries" group.
3. Double-click on the table you want to query. The table will appear in the
design grid.
4. Drag the field(s) you want to include in the query to the grid.
5. To set criteria, enter your conditions in the criteria row below the field(s) you
want to filter.
6. Save your query and run it to see the results.
What are some common query operators (e.g., AND, OR)?
AND: Returns records that meet multiple criteria. For example, "Age > 25 AND
City = 'New York'" finds records where age is over 25 and the city is New York.
OR: Returns records that meet at least one of the specified criteria. For
instance, "Category = 'Electronics' OR Category = 'Appliances'" retrieves
records where the category is either Electronics or Appliances.
NOT: Excludes records that meet a specific criterion. For example, "NOT
Status = 'Completed'" finds records where the status is not Completed.
LIKE: Searches for a specified pattern in a field. For instance, "Product Name
LIKE 'app*'" finds products with names starting with "app."
Forms:
Describe the purpose of forms in Access.
To collect information in a logical, meaningful fashion and pass it to another
entity.
How can you create a simple data entry form for a table?
Select the Create tab, locate the Forms group, then click the Form command.
Your form will be created and opened in the Layout view.
To save the form, click the Save command on the Quick Access Toolbar.
Reports:
What are reports, and why are they useful in a database?
A database report is a document that summarizes the data stored in a database.
It is an excellent way to organize, analyze, and present data in an easy-to-
understand format.