It Flashcards

1
Q

What is a query and its need?

A

A query is used to collect specific information from a pool of data.

Queries are required to retrieve the desired data easily and accurately from database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the use of Alias row in the Design grid of the Query Design window?

A

Alias can be used to display meaningful names of the fields in the output when field names are not user friendly.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are four mathematical function that can be applied to numerical data in a query?

A

Sum
Average
Maximum
Minimum

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name the three ways of creating a query in LibreOffice Base

A

Three ways of creating a query in LibreOffice Base are:
* Design View
* Use Wizard
* SQL view

These methods allow users to customize and execute queries based on their needs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the advantages of relating a table in a database?

A

A relationship can help prevent data redundancy.

Creating relationships between tables restricts the user from entering invalid data in the referenced fields.

Any updation in the master table is automatically reflected in the transaction tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Referential Integrity?

A

Referential Integrity is the control of redundancy or inconsistency in a database by setting the relationship between tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Who maintains referential integrity in a database?

A

Referential integrity is maintained by ensuring that records are not duplicated and that there are no variable data values for a particular field in two or more tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What happens after creating a relationship between tables?

A

After creating a relationship between tables, adding or updating a record in one table reflects the changes in all the related tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a One-to-One relationship?

A

In this type of relationship, one specific record of a master table has one and only one corresponding record in the transaction table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a One-to-Many relationship?

A

In this type of relationship, one specific record of the master table has more than one corresponding record in the related transaction table.

For example

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Ans. Many-to -Many relationship

A

In this type of relationship there will be multiple records in the master table that corresponds to multiple records in the transaction table as well.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly