CHAPTER 4 RAISING QUERIES CLASS 8 COMPUTER
CLASS 8
CHAPTER 4 RAISING QUERIES
A. Fill in the blanks with the help of the given words.
1. Connecting tables in a database is the concept of relational database.
2. A foreign key is the primary key of another table which creates a link between two tables based on a common column.
3. If you modify the primary key value,Cascade update related fields allows you to update all the related foreign key values.
4. A query allows you to pull information from one or more tables based on a set of defined search conditions.
5. The query design view allows you to customise the query.
B. Tick the correct answer.
1. Which of the following options allows you to delete the related records from the foreign key table, if you delete records from the primary key table?
ANS B. Cascade delete related records
2. Which option in Edit Relationships dialog box prevents you from entering a value in the foreign key field?
ANS B. Enforce referential integrity
3. Press.......... to find a particular entry in a table.
ANS D. Ctrl+F
4. What is the function of 'Filter' in the Sort and Filter group?
ANS C. To hide the data
5. Which of these provides a step-by-step approach to create a query in a database?
ANS B. Query Wizard
6. Which of these helps in retrieving blank columns in a database?
Ans b. Null value
7. A tool of a relational database that is more powerful than searching or filtering records.
Ans b. Query
8. In which tab will you find Query Wizard option?
Ans c. Create
C. STATE TRUE or FALSE
1. A relational database should contain only one table. FALSE
2. You need to click on 'Relationships' to set a foreign key. TRUE
3. Enforce referential integrity prevents you from entering a value in the foreign key field, if a corresponding value does not exist in the primary key field. TRUE
4. DD/MM/YYYY is the data format when the language of your computer is set to English (U.K.)
TRUE
5. Filtering deletes the records in a database.
FLASE
Q1. Can you create a relationship between two tables? For what purpose do we create relationships between tables?
ANS1. Yes, we can create a relationship between two tables. In relational databases, data is often spread across multiple tables instead of being kept in one large table. Relationship is created between tables for the following purposes
1 Data Integrity: Ensures that related data stays consistent (e.g., a student must be assigned to an existing class).
2 Avoiding Redundancy: Prevents duplication of data
3 Easier Maintenance: Updates happen in one place, not multiple.
Q2. How can you filter the records in Access 2016?
Ans 2. Steps to filter the records in M S Access 2016
-
Open the table, query, or form.
-
Click on the value you want to filter by.
-
Go to the Home tab.
-
Click Selection in the Sort & Filter group.
-
Choose a filter option (e.g., “Equals”, “Does Not Equal”, etc.).
Comments
Post a Comment