Week 11 Flashcards

(30 cards)

1
Q

Which type of query is a query that adds, changes, or deletes multiple table records at one time?

A

Action Queries

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

In which type of query do you choose the fields and records you want to change by entering the selection criteria and the update rules?

A

Update

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

List the various types of action queries?

A

Update
Append
Make Table
Delete

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

What is a make-table query? Explain.

A

Creates a whole new table

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

Which type of table contains data that is no longer needed for current processing but that you might need to reference in the future?

A

History Table

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

Delete queries are often run after ____ queries have added those same records to history tables.

A

Append

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

What type of query changes selected fields and records in one or more tables?

A

Update

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

How do you choose the records you want to delete when using a delete query?

A

Create query –> selected the records and run the query. After its run, then select the delete option.

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

Which type of query adds records from an existing table or query to the end of another table?

A

Append

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

Which type of query creates a new table from one or more existing tables?

A

Make Table

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

What type of query would you use to increase the salaries of selected employee groups by a specified percentage?

A

Update: Update to:

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

You need to combine the information from a table containing customers in city A with a table containing customers in city B in a customer database. What type of query should you use?

A

Append

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

Which file type contains format specifications for a table that may be exported from a database as
an XML document?

A

XSD - XML Strucutred Definition

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

What properties are preserved in the new table when you use a make-table query?

A

data type and field size

no primary key or field properties such as look up fields

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

ut the following steps for creating a delete query in the proper order:

a. Create a select query with the necessary fields and selection criteria.
b. Switch to Design view to make any necessary changes.
c. When the query is correct, click the Delete button in the Query Type group on the Design tab. Access replaces the Show and Sort rows in the design grid with the Delete row.
d. Click the Run button.
e. In the Results group on the Design tab on the Ribbon, click the Run button to preview the results.
f. Click the Yes button to confirm deleting the records.

A

a. Create a select query with the necessary fields and selection criteria.
d. Click the Run button.
b. Switch to Design view to make any necessary changes.
e. In the Results group on the Design tab on the Ribbon, click the Run button to preview theresults.
c. When the query is correct, click the Delete button in the Query Type group on the Design tab. Access replaces the Show and Sort rows in the design grid with the Delete row.
f. Click the Yes button to confirm deleting the records.

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

What is the abbreviation for a one-to-many relationship?

17
Q

Provide a complete definition for a one-to-many relationship.

A

Primary has one record, that record in the related table has many records.

18
Q

What is the abbreviation for a many-to-many relationship?

19
Q

What type of relationship would exist in a Database of careers with a table of Jobs offered to students by employers and the Student table which contains one record for each student?

20
Q

Which type of relationship requires you to create a third table and form one-to-many relationships between the two original primary tables and the new related table?

21
Q

What would be the name of the third table in the question above?

A

Relationship Table

22
Q

List four types of tables that can be found in a relational database.

A

Relationship Table
1:1
1:M
M:N

23
Q

What is the most common type of relationship in a database?

24
Q

What is the proper name for an entity in a one-to-one relationship?

A

Entity Subtype

25
What is an inner join? Explain
Displays matching records between two tables
26
What is an outer join? Explain.
Displays non mathcing records between two tables
27
What is a self-join? Explain.
Can be inner or outer | Eployee + Superisor in the same table
28
Given a database containing a student table and a class table, what type of join would show all students whether or not the students are enrolled in a class?
Inner Join
29
Given a database containing a student table and a class table, what type of join would show all classes whether or not there are any students enrolled in them?
Outer Join
30
What is an index? Explain
Just like a books index, you can use it to look up additional feilds. E.g Primary key has a index automatically generated.