It Flashcards
What is a query and its need?
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
What is the use of Alias row in the Design grid of the Query Design window?
Alias can be used to display meaningful names of the fields in the output when field names are not user friendly.
What are four mathematical function that can be applied to numerical data in a query?
Sum
Average
Maximum
Minimum
Name the three ways of creating a query in LibreOffice Base
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.
What are the advantages of relating a table in a database?
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.
What is Referential Integrity?
Referential Integrity is the control of redundancy or inconsistency in a database by setting the relationship between tables.
Who maintains referential integrity in a database?
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.
What happens after creating a relationship between tables?
After creating a relationship between tables, adding or updating a record in one table reflects the changes in all the related tables.
What is a One-to-One relationship?
In this type of relationship, one specific record of a master table has one and only one corresponding record in the transaction table.
What is a One-to-Many relationship?
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
Ans. Many-to -Many relationship
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.