0% found this document useful (0 votes)
43 views5 pages

Understanding Query Design in LibreOffice

Chapter 11 discusses working with queries in databases, covering multiple choice questions, true/false statements, fill-in-the-blanks, and short answer questions related to query creation and functionality. It highlights the importance of queries for retrieving specific data from large datasets and outlines various methods for designing queries in LibreOffice Base. Key concepts include the use of aliases, sorting, and mathematical functions applicable to numerical data.

Uploaded by

amoghabhishbdm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views5 pages

Understanding Query Design in LibreOffice

Chapter 11 discusses working with queries in databases, covering multiple choice questions, true/false statements, fill-in-the-blanks, and short answer questions related to query creation and functionality. It highlights the importance of queries for retrieving specific data from large datasets and outlines various methods for designing queries in LibreOffice Base. Key concepts include the use of aliases, sorting, and mathematical functions applicable to numerical data.

Uploaded by

amoghabhishbdm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Chapter 11

Working with Queries

A. Multiple choice questions


1. Which of the following is refer to asking questions from the
database?
(a) Report (b) Table (c) Query (d) Database
2. Which of the following are the ways to design a query?
(a) Wizard (b) Design View (c) SQL (d) All
of the above
3. Which is a flexible way to create a query?
(a) Wizard (b) Design View (c) Both (a) and (b)
(d) Neither (a) nor (b)
4. Into how many parts is the query design window divided?
(a) One (b) Two (c) Three (d) Four
5. Which of the following is NOT true about queries?
(a) It can be created using multiple tables
(b) Multiple queries can be created in a database
(c) A query can run multiple times
(d) A query once created cannot be edited
6. Which of the following is the shortcut key to run the query?
(a) F3 (b) F4 (c) F5 (d) F6
7. Which of the following functions can be performed on numerical
data while designing a query?
(a) Sum (b) Minimum (c) Maximum (d) All of the
above
8. In a Query Design wizard, which of the following buttons is
clicked to move a field from ‘Available fields’ list box to ‘Fields in
the query‘ list box?
(a) > (b) < (c) ∨ (d) ∧
9. Which of the following relational operators can be applied to
set the criterion while designing a query in LibreOffice Base?
(a) > (b) = (c) != (d) All of the above
10. Which of the following dialog box is present when the Query
Design window is opened for the first time to design a query?
(a) Add Table (b) Add Query (c) Add Table or
Query (d) None of the above
11. Which of the following step is not performed if there is no
numerical data to be worked upon in a query?
(a) Selection of fields (b) Giving Aliases (c)
Summarizing (d) Selection of tables

B. State whether the following statements are True or False


1. You can run a query only once False
2. A query cannot be created from multiple tables False
3. The shortcut key to run a query is F5. True
4. LibreOffice Base provides us with two ways to create a
[Link]
5. A query with numerical data cannot be saved. False
6. By default the query result is not sorted. True
7. A query can be used to display the average value of a
numerical field. True
8. While designing a query, the criterion can be set on only one
field. False
9. Alias is an alternative name for a field in a query. True
10. In query Design window, the visible check box is selected by
default. True
11. A query once created using a wizard can only be edited in the
Design [Link]
C. Fill in the blanks
1. A ________Query____ is a sort of question asked from a
database.
2. The result of the query is displayed in ______Report______
form with field names in columns
3. A query can be created in ___Three_____ways.
4. The Query Design window is divided into __Two________
sections.
5. The shortcut key to run the query is _______F5_______.
6. The conditions to filter the records are set in the
____Criterion_____ row.
7. When a table is selected in a Query wizard, the corresponding
fields are displayed in the_____Available
Fields_____________list box.
8. The result of the query can be displayed in __Ascending
________ or ___Descending__________ order of any particular
field of the table.
9. At the most ________Three__ search conditions can be given
in the query wizard.
10. The last step of the Query wizard displays the entire
_Overview___________ of the query.
11. The ___Design__________ view is a more flexible method to
create a query.
12. To edit any query, right click on the _Query_______ icon of
the query that has to be edited.
13. In the ________Alias_____ row of the Query Design grid, we
can type the column heading that will be displayed instead of field
name when we run the query.

D. Answer the given questions


1. Define a query? What is the need of creating a query in a
database?
Ans: Query is used to retrieve the data from the database as er
your requirement by providing the desired specifications.
Depending upon given specifications,the specific records are
searched from the database and then displayed in the desired
manner.
Need of creating a query in a database: As the number of
records increases in a table it is difficult to find out the
required/desired information in a database. By using queries, we
can retrieve the data without going individually through each
record in the table(s) and also display them in a desired format.

2. Rearrange the steps given below so as to create a query using


a wizard.
a. Give Alias
b. Select the fields
c. Set the criterion
d. Set the sorting order
e. Give table name
Ans:
a)Give table name
b) Select the fields
c)Set the sorting order
d)Set the criterion
e)Give Alias
3. What all information is seen in the overview (last step) of the
Query wizard?
Ans: The ast step of the Query wizard displays the entIre
Overview of the query.
It includes the following
a) Name of the query:If required type the new name in the text
box.
b) The action to be performed after the wizard finishes- By
default Display query option wil be selected .Click and select
the modify Query option radio button if the query has to be
edited in the design view.
c) c) Complete detail of the Query: The section contains a
summary about the query that has been created.

4. What is the use of Alias row in the Design grid of the Query
Design window?
Ans: Alias row is used to display meaningful names in the
[Link] alias is an alternative name for a field in a query.
5. Name any four mathematical functions that can be applied to
numerical data in a query.
Ans: Mathematical functions that can be applied to numerical data
in a query. Are:
a) Count 2) sum 3)Minimum 4) Maximum 5)Average.

6. Name the three ways of creating a query in LibreOffice Base?


Ans: A query can be created in three ways
1) Using a Wizard
2) In design View
3) In SQL view

You might also like