Unit 3:
Chapter 4
QUERIES IN BASE
A. Multiple Choice Questions
1. (c) Query
2. (d) All of the above
3. (b) Design View
A. Multiple Choice Questions
4. (c) Three
5. (d) A query once created cannot be edited
6. (c) F5
7. (d) All of the above
8. (a) >
9. (d) Add Form
10. (c) Add Table or Query
11. (c) Summarizing
B. State whether the following
statements are True or False
- False
- False
- True
- True
- False
- True
- True
- False
- True
- True
- False
C. Fill in the blanks
- A query is a sort of question asked from a
database.
- The result of the query is displayed in table
form with field names in columns.
- A query can be created in two ways.
- The Query Design window is divided into three
sections.
- The shortcut key to run the query is F5.
- The conditions to filter the records are set in the criteria
row.
- When a table is selected in a Query wizard, the
corresponding fields are displayed in the fields list box.
- The result of the query can be displayed in the order
of any particular field of the table.
- At the most five search conditions can be given
in the query wizard.
- The last step of the Query wizard displays the entire structure
of the query.
- The Design view is a more flexible method to
create a query.
- To edit any query, right click on the query icon
of the query that has to be edited.
- In the field name row of the Query Design grid,
we can type the column heading that will be displayed instead of the field
name when we run the query.
D. Answer the given questions
- Define a query? What is the need of creating a query in
a database?
A
query is a request or question posed to a database to retrieve specific
information. It allows you to extract relevant data from one or more tables
based on specific criteria. Creating queries is essential for:
- Data retrieval:
Extracting specific information needed for analysis or reporting.
- Data manipulation: Modifying data, such as updating or deleting records.
- Data analysis:
Performing calculations and generating summaries based on the data.
- Data integration: Combining data from multiple tables to create a
unified view.
- Rearrange the steps given below so as to create a query
using a wizard.
Here's
the correct order:
- Give table name
- Select the fields
- Set the criterion
- Set the sorting order
- Give Alias
- What all information is seen in the overview (last
step) of the Query wizard?
The
overview step typically displays:
- The table names involved in the query.
- The selected fields and their aliases.
- The criteria used to filter the data.
- The sorting order specified for the results.
- What is the use of Alias row in the Design grid of the
Query Design window?
The
Alias row allows you to assign user-friendly names to fields in the query
results. This can make the output more readable and understandable, especially
when dealing with complex queries or long field names.
- Name any four mathematical functions that can be
applied to numerical data in a query.
Some
common mathematical functions used in queries include:
- SUM:
Calculates the sum of values.
- AVG:
Calculates the average of values.
- COUNT:
Counts the number of records.
- MAX:
Finds the maximum value.
- MIN:
Finds the minimum value.
- Name the three ways of creating a query in LibreOffice
Base?
The
three primary ways to create a query in LibreOffice Base are:
- Query Wizard:
A step-by-step guided approach for creating simple queries.
- SQL View:
Allows you to write SQL (Structured Query Language) statements directly
to create complex queries.
- Design View:
Provides a visual interface to design queries by dragging and dropping
fields and setting criteria.
No comments:
Post a Comment