Deck 6: Relational Databases and Sql

Full screen (f)
exit full mode
Question
A model is a complex representation of a simple entity or phenomenon.
Use Space or
up arrow
down arrow
to flip the card.
Question
A legacy system is one that has existed in an organization for less than one year.
Question
Relationships map and define the way in which data can be extracted from a database.
Question
A collection of data representing multiple occurrences of a resource, event, or agent is known as a relation.
Question
Attributes are often called fields.
Question
The customer street address is often used as the key attribute in an REA diagram.
Question
REA stands for resources, entities and agents
Question
A recursive relationship is created when there is an employee being supervised, and another employee is the supervisor.
Question
The fundamental requirement for moving toward an event driven model is the complete integration of data related to an organization's business events.
Question
Representing supervisors and their employees as separate entities in the model can lead to data redundancy.
Question
A recursive relationship occurs between two different instances of an entity.
Question
In an REA diagram, the rectangle is used to represent the composite attribute.
Question
A primary attribute is the attribute whose value is unique for every entity that will appear in the database.
Question
An entity in an accounting system can be classified as a resource, event or agent about which data are collected.
Question
The cardinality constraint is used to specify both the minimum and maximum participation of one entity in the relationship with the other entity.
Question
The first step in REA is evaluating the attributes.
Question
The notation of (1,1) is used to specify the relationship type of one to many.
Question
The cardinality constraint is used less frequently than the participation constraint.
Question
A set of data that describes an instance of the entity represented by a relation is known as a tuple.
Question
The notation 1,N is used to specify the relationship type of one to many.
Question
A data field in a traditional file is similar to a relational:

A)table
B)attribute
C)tuple
D)row
Question
An entity can be classified as all of the following except

A)resource
B)event
C)tuple
D)agent
Question
SQL is a powerful database language that can be used to define database systems, query the database for information, generate reports from the database, and access databases from within programs using embedded commands.
Question
Queries of a database are driven by SELECT commands.
Question
A relation in an ER model is the same as an entity in the REA model.
Question
A(n) ____ of an entity is on specific thing of the type defined by the entity.

A)agent
B)composite attribute
C)attribute
D)instance
Question
Which of the following is an attribute but least likely to be the key attribute?

A)client
B)client number
C)client name
D)client street address
Question
Which of the following is a composite attribute?

A)client
B)client number
C)client name
D)client street address
Question
The INSERT command is used to add a single tuple to an existing relation.
Question
Which of the following is the entity or agent?

A)client
B)client number
C)client name
D)client street address
Question
Relational integrity specifies that for every attribute in one relation that has been specified to allow reference to another relation, the tuple being referenced must remain intact.
Question
A key attribute is the attribute whose value is:

A)undeterminable
B)unique
C)large
D)the same for all attributes
Question
A(n) ____ is an item of data that characterizes an entity or relationship

A)agent
B)composite attribute
C)attribute
D)instance
Question
The DELETE command is used when we want to change one or more attribute values.
Question
Most DBMS available today that include SQL also include mechanisms within the DBMS itself for establishing and enforcing referential integrity.
Question
A missing value is called a non-null.
Question
Which of the following is the key attribute?

A)client
B)client number
C)client name
D)client street address
Question
The secondary key is specified to uniquely identity each tuple in the relation.
Question
For the following entity and attribute model, what would be the key attribute of the Students entity? <strong>For the following entity and attribute model, what would be the key attribute of the Students entity?  </strong> A)social security number B)name C)address D)street <div style=padding-top: 35px>

A)social security number
B)name
C)address
D)street
Question
The UPDATE command demonstrates one of the weaknesses in most forms of SQL.
Question
Students at Macom University use an web-based course registration system.Identify the participation constraint of the following data model relationship.The university maintains student records until they graduate or do not enroll in a course for a 3-year period. <strong>Students at Macom University use an web-based course registration system.Identify the participation constraint of the following data model relationship.The university maintains student records until they graduate or do not enroll in a course for a 3-year period.  </strong> A)N:M B)1:N C)(1,1):(0,N) D)(1,1):(1,N) <div style=padding-top: 35px>

A)N:M
B)1:N
C)(1,1):(0,N)
D)(1,1):(1,N)
Question
____ specifies that for every attribute value in one relation that has been specified in order to allow reference to another relation,the tuple being referenced must remain intact.

A)Cardinality constraint
B)Participation constraint
C)Referential integrity
D)Economic constraint
Question
The constraint that is specifies the degree of minimum participation of one entity in the relationship with the other entity is called:

A)cardinality constraint
B)participation constraint
C)economic constraint
D)logical constraint
Question
A situation in which a particular supplier provides more than one type of inventory item to a firm and a particular type of inventory item is acquired from more than a single supplier is called a(n):

A)one-to-one relationship
B)one-to-many relationship
C)many-to-many relationship
D)entity relationship
Question
A set of data that describes an instance of the entity represented by a relation is known as a(n) ____.

A)tuple
B)resource
C)agent
D)event
Question
The cardinality constraint:

A)specifies the degree of minimum participation of one entity in the relationship with the other entity.
B)provides more information than the participation constraint.
C)is the most common constraint specified in E-R diagrams.
D)all of the above.
Question
Which of following is not a step in the process for specifying relations based on REA diagrams?

A)Determine the attributes for each of the entities.
B)Determine the number of tables.
C)Create a separate relational table for each entity.
D)Implement the relationships among the entities.
Question
Legacy systems do not usually have which of the following characteristics?

A)developed on previous hardware (and/or software) platforms
B)are easily adaptable to enterprise systems
C)have been used by an organization for a long period of time
D)all of the above are typical characteristics of legacy systems
Question
Which relationship type does (1, N) mean?

A)one-to-many
B)one-to-one
C)one-to-few
D)many-to-many
Question
The mapping of the relationships between entities would be used in the development of a(n):

A)context diagram
B)logical DFD
C)physical DFD
D)REA Model
Question
Customers of Hanson Company, a home furnishings wholesaler, place orders by contacting a sales representative via a toll-free number.Identify the constraints of the following data model relationship. <strong>Customers of Hanson Company, a home furnishings wholesaler, place orders by contacting a sales representative via a toll-free number.Identify the constraints of the following data model relationship.  </strong> A)1:1 B)1:N C)N:M D)N:1 <div style=padding-top: 35px>

A)1:1
B)1:N
C)N:M
D)N:1
Question
The sequence of steps in identifying relationships in a model is:

A)evaluate entities as pairs, identify user existing and desired information, evaluate each entity to determine if there is any need for two occurrences of the same entity type to be linked
B)identify user existing and desired information, evaluate entities as pairs, evaluate each entity to determine if there is any need for two occurrences of the same entity type to be linked
C)evaluate entities as pairs, evaluate each entity to determine if there is any need for two occurrences of the same entity type to be linked, identify user existing and desired information
D)evaluate each entity to determine if there is any need for two occurrences of the same entity type to be linked, evaluate entities as pairs, identify user existing and desired information
Question
The following E-R diagram shows a M:N relationship between two relations.To map this E-R diagram into a logical database model: <strong>The following E-R diagram shows a M:N relationship between two relations.To map this E-R diagram into a logical database model:  </strong> A)divide the content of the Course relation to establish two relations having 1:N relationships B)add the primary key of the Student relation as an attribute in the Course relation C)create a new relation whose primary key is a composite of the primary keys of two relations D)add the primary key of the Course relation as an attribute in the Student relation <div style=padding-top: 35px>

A)divide the content of the Course relation to establish two relations having 1:N relationships
B)add the primary key of the Student relation as an attribute in the Course relation
C)create a new relation whose primary key is a composite of the primary keys of two relations
D)add the primary key of the Course relation as an attribute in the Student relation
Question
Which of the following statements about the participation constraint is false?

A)It specifies the degree of minimum participation of one entity in the relationship with the other entity.
B)The constraint is either 1 or 0.
C)It is the most common constraint in E-R diagrams.
D)It provides more information than the cardinality constraint.
Question
To generate a standard report of a relational database, which of the following SQL commands would be used?

A)Select report
B)Select view
C)Create report
D)Create view
Question
Enterprise systems are integrated software packages designed to provide complete integration of:

A)an organization's accounting information system
B)an organization's business data
C)an organization's business information processing systems and all related data
D)an organization's management
Question
Which of the following is not a relationship type?

A)one-to-many
B)one-to-one
C)one-to-few
D)many-to-many
Question
In a relational database, a relation is defined as a collection of data representing multiple occurrences of the following except:

A)a resource
B)an event
C)an activity
D)an agent
Question
____ are defined as a set of data that describes an instance of the entity represented by a relation.

A)Attributes
B)Tuples
C)Primary keys
D)Candidate keys
Question
Which of the following is not a proper SQL command for creating database relations?

A)Create table employee
B)Create table training_completed
C)Create client
D)Alter table release_time
Question
In a relational database, the entity is represented as a(n):

A)table
B)network
C)field
D)attribute
Question
The SELECT statement has all but one of the following parts
a.a list of attributes that we wish to SELECT from the database
b.a WHEN clause
c.a list of tables where these attributes can be found
d.a WHERE clause
Question
Which is not an SQL command in which data can be changed in the database?

A)INSERT
B)DELETE
C)UPDATE
D)CREATE
Question
The relationship that relates to the specification of how many occurrences of an entity can participate in the given relationship with any one occurrence of the other entity in the relationship is referred to as ______________________________.
Question
REA stands for ____________________, ____________________, and ____________________.
Question
Which is not a step in creating a relation using SQL?

A)assign the relation a name
B)assign each attribute a name
C)specify the constraints on the attributes
D)specify the attributes of the constraints
Question
Which of the following SQL statements would extract the client number and date for every instance that an employee worked less than 8 hours any particular day?

A)QUERY BILLING_HOURS SELECT Client_No, Date
WHERE Hours<8
B)QUERY client_No, Date FROM BILLING_HOURS
WHERE Hours>8
C)SELECT Client_No, Date WHERE Hours<8
D)SELECT Client_No, Date FROM BILLING_HOURS
WHERE Hours<8
Question
Which of the following SQL statements would extract the employee number and date for every instance that had a billing rate of $150?

A)SELECT Employee_No, Date FROM BILLING_HOURS
WHERE Rate=150
B)QUERY Employee_No, Date FROM BILLING_HOURS
WHERE Rate=150
C)SELECT Employee_No, Date WHERE Rate=150
D)QUERY BILLING_HOURS SELECT Employee_No, Date
WHERE Hours>8
Question
Which of the following SQL statements would extract the client number and date for every instance that had a billing rate of $150?

A)QUERY BILLING_HOURS SELECT Client_No, Date
WHERE Rate=150
B)QUERY client_No, Date FROM BILLING_HOURS
WHERE Rate=150
C)SELECT Client_No, Date WHERE Rate=150
D)SELECT Client_No, Date FROM BILLING_HOURS
WHERE Rate=150
Question
Attributes that consist of multiple subattributes are referred to as _________________________.
Question
A(n) ______________________________ relationship occurs between two different instances of an entity.
Question
A(n) _________________________ is the attribute whose value is unique for every entity that will ever appear in the database.
Question
Which of the following relational commands would a manager use to combine the data from two related relations into a third relation?

A)select
B)project
C)join
D)display
Question
Which of the following is a valid SQL command?

A)MODIFY
B)INSERT
C)ADD
D)APPEND
Question
The notation 1,N is used to specify the relationship type of _________________________.
Question
A(n) ____________________ is an item of data that characterizes an entity or relationship.
Question
Which of the following SQL statements would extract the employee number and date for every instance that an employee worked more than 8 hours any particular day?

A)SELECT Employee_No, Date FROM BILLING_HOURS
WHERE Hours>8
B)QUERY Employee_No, Date FROM BILLING_HOURS
WHERE Hours>8
C)SELECT Employee_No, Date WHERE Hours>8
D)QUERY BILLING_HOURS SELECT Employee_No, Date
WHERE Hours>8
Question
A(n) ____________________ in an accounting system can be classified as a resource, event, or agent about which data is collected.
Question
The ______________________________ specifies the degree of minimum participation of one entity in the relationship with the other entity.
Question
____________________ map and define the way in which data can be extracted from a database.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/93
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 6: Relational Databases and Sql
1
A model is a complex representation of a simple entity or phenomenon.
False
2
A legacy system is one that has existed in an organization for less than one year.
False
3
Relationships map and define the way in which data can be extracted from a database.
True
4
A collection of data representing multiple occurrences of a resource, event, or agent is known as a relation.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
5
Attributes are often called fields.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
6
The customer street address is often used as the key attribute in an REA diagram.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
7
REA stands for resources, entities and agents
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
8
A recursive relationship is created when there is an employee being supervised, and another employee is the supervisor.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
9
The fundamental requirement for moving toward an event driven model is the complete integration of data related to an organization's business events.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
10
Representing supervisors and their employees as separate entities in the model can lead to data redundancy.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
11
A recursive relationship occurs between two different instances of an entity.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
12
In an REA diagram, the rectangle is used to represent the composite attribute.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
13
A primary attribute is the attribute whose value is unique for every entity that will appear in the database.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
14
An entity in an accounting system can be classified as a resource, event or agent about which data are collected.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
15
The cardinality constraint is used to specify both the minimum and maximum participation of one entity in the relationship with the other entity.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
16
The first step in REA is evaluating the attributes.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
17
The notation of (1,1) is used to specify the relationship type of one to many.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
18
The cardinality constraint is used less frequently than the participation constraint.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
19
A set of data that describes an instance of the entity represented by a relation is known as a tuple.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
20
The notation 1,N is used to specify the relationship type of one to many.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
21
A data field in a traditional file is similar to a relational:

A)table
B)attribute
C)tuple
D)row
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
22
An entity can be classified as all of the following except

A)resource
B)event
C)tuple
D)agent
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
23
SQL is a powerful database language that can be used to define database systems, query the database for information, generate reports from the database, and access databases from within programs using embedded commands.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
24
Queries of a database are driven by SELECT commands.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
25
A relation in an ER model is the same as an entity in the REA model.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
26
A(n) ____ of an entity is on specific thing of the type defined by the entity.

A)agent
B)composite attribute
C)attribute
D)instance
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
27
Which of the following is an attribute but least likely to be the key attribute?

A)client
B)client number
C)client name
D)client street address
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
28
Which of the following is a composite attribute?

A)client
B)client number
C)client name
D)client street address
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
29
The INSERT command is used to add a single tuple to an existing relation.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
30
Which of the following is the entity or agent?

A)client
B)client number
C)client name
D)client street address
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
31
Relational integrity specifies that for every attribute in one relation that has been specified to allow reference to another relation, the tuple being referenced must remain intact.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
32
A key attribute is the attribute whose value is:

A)undeterminable
B)unique
C)large
D)the same for all attributes
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
33
A(n) ____ is an item of data that characterizes an entity or relationship

A)agent
B)composite attribute
C)attribute
D)instance
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
34
The DELETE command is used when we want to change one or more attribute values.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
35
Most DBMS available today that include SQL also include mechanisms within the DBMS itself for establishing and enforcing referential integrity.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
36
A missing value is called a non-null.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
37
Which of the following is the key attribute?

A)client
B)client number
C)client name
D)client street address
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
38
The secondary key is specified to uniquely identity each tuple in the relation.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
39
For the following entity and attribute model, what would be the key attribute of the Students entity? <strong>For the following entity and attribute model, what would be the key attribute of the Students entity?  </strong> A)social security number B)name C)address D)street

A)social security number
B)name
C)address
D)street
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
40
The UPDATE command demonstrates one of the weaknesses in most forms of SQL.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
41
Students at Macom University use an web-based course registration system.Identify the participation constraint of the following data model relationship.The university maintains student records until they graduate or do not enroll in a course for a 3-year period. <strong>Students at Macom University use an web-based course registration system.Identify the participation constraint of the following data model relationship.The university maintains student records until they graduate or do not enroll in a course for a 3-year period.  </strong> A)N:M B)1:N C)(1,1):(0,N) D)(1,1):(1,N)

A)N:M
B)1:N
C)(1,1):(0,N)
D)(1,1):(1,N)
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
42
____ specifies that for every attribute value in one relation that has been specified in order to allow reference to another relation,the tuple being referenced must remain intact.

A)Cardinality constraint
B)Participation constraint
C)Referential integrity
D)Economic constraint
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
43
The constraint that is specifies the degree of minimum participation of one entity in the relationship with the other entity is called:

A)cardinality constraint
B)participation constraint
C)economic constraint
D)logical constraint
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
44
A situation in which a particular supplier provides more than one type of inventory item to a firm and a particular type of inventory item is acquired from more than a single supplier is called a(n):

A)one-to-one relationship
B)one-to-many relationship
C)many-to-many relationship
D)entity relationship
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
45
A set of data that describes an instance of the entity represented by a relation is known as a(n) ____.

A)tuple
B)resource
C)agent
D)event
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
46
The cardinality constraint:

A)specifies the degree of minimum participation of one entity in the relationship with the other entity.
B)provides more information than the participation constraint.
C)is the most common constraint specified in E-R diagrams.
D)all of the above.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
47
Which of following is not a step in the process for specifying relations based on REA diagrams?

A)Determine the attributes for each of the entities.
B)Determine the number of tables.
C)Create a separate relational table for each entity.
D)Implement the relationships among the entities.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
48
Legacy systems do not usually have which of the following characteristics?

A)developed on previous hardware (and/or software) platforms
B)are easily adaptable to enterprise systems
C)have been used by an organization for a long period of time
D)all of the above are typical characteristics of legacy systems
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
49
Which relationship type does (1, N) mean?

A)one-to-many
B)one-to-one
C)one-to-few
D)many-to-many
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
50
The mapping of the relationships between entities would be used in the development of a(n):

A)context diagram
B)logical DFD
C)physical DFD
D)REA Model
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
51
Customers of Hanson Company, a home furnishings wholesaler, place orders by contacting a sales representative via a toll-free number.Identify the constraints of the following data model relationship. <strong>Customers of Hanson Company, a home furnishings wholesaler, place orders by contacting a sales representative via a toll-free number.Identify the constraints of the following data model relationship.  </strong> A)1:1 B)1:N C)N:M D)N:1

A)1:1
B)1:N
C)N:M
D)N:1
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
52
The sequence of steps in identifying relationships in a model is:

A)evaluate entities as pairs, identify user existing and desired information, evaluate each entity to determine if there is any need for two occurrences of the same entity type to be linked
B)identify user existing and desired information, evaluate entities as pairs, evaluate each entity to determine if there is any need for two occurrences of the same entity type to be linked
C)evaluate entities as pairs, evaluate each entity to determine if there is any need for two occurrences of the same entity type to be linked, identify user existing and desired information
D)evaluate each entity to determine if there is any need for two occurrences of the same entity type to be linked, evaluate entities as pairs, identify user existing and desired information
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
53
The following E-R diagram shows a M:N relationship between two relations.To map this E-R diagram into a logical database model: <strong>The following E-R diagram shows a M:N relationship between two relations.To map this E-R diagram into a logical database model:  </strong> A)divide the content of the Course relation to establish two relations having 1:N relationships B)add the primary key of the Student relation as an attribute in the Course relation C)create a new relation whose primary key is a composite of the primary keys of two relations D)add the primary key of the Course relation as an attribute in the Student relation

A)divide the content of the Course relation to establish two relations having 1:N relationships
B)add the primary key of the Student relation as an attribute in the Course relation
C)create a new relation whose primary key is a composite of the primary keys of two relations
D)add the primary key of the Course relation as an attribute in the Student relation
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
54
Which of the following statements about the participation constraint is false?

A)It specifies the degree of minimum participation of one entity in the relationship with the other entity.
B)The constraint is either 1 or 0.
C)It is the most common constraint in E-R diagrams.
D)It provides more information than the cardinality constraint.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
55
To generate a standard report of a relational database, which of the following SQL commands would be used?

A)Select report
B)Select view
C)Create report
D)Create view
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
56
Enterprise systems are integrated software packages designed to provide complete integration of:

A)an organization's accounting information system
B)an organization's business data
C)an organization's business information processing systems and all related data
D)an organization's management
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
57
Which of the following is not a relationship type?

A)one-to-many
B)one-to-one
C)one-to-few
D)many-to-many
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
58
In a relational database, a relation is defined as a collection of data representing multiple occurrences of the following except:

A)a resource
B)an event
C)an activity
D)an agent
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
59
____ are defined as a set of data that describes an instance of the entity represented by a relation.

A)Attributes
B)Tuples
C)Primary keys
D)Candidate keys
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
60
Which of the following is not a proper SQL command for creating database relations?

A)Create table employee
B)Create table training_completed
C)Create client
D)Alter table release_time
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
61
In a relational database, the entity is represented as a(n):

A)table
B)network
C)field
D)attribute
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
62
The SELECT statement has all but one of the following parts
a.a list of attributes that we wish to SELECT from the database
b.a WHEN clause
c.a list of tables where these attributes can be found
d.a WHERE clause
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
63
Which is not an SQL command in which data can be changed in the database?

A)INSERT
B)DELETE
C)UPDATE
D)CREATE
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
64
The relationship that relates to the specification of how many occurrences of an entity can participate in the given relationship with any one occurrence of the other entity in the relationship is referred to as ______________________________.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
65
REA stands for ____________________, ____________________, and ____________________.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
66
Which is not a step in creating a relation using SQL?

A)assign the relation a name
B)assign each attribute a name
C)specify the constraints on the attributes
D)specify the attributes of the constraints
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
67
Which of the following SQL statements would extract the client number and date for every instance that an employee worked less than 8 hours any particular day?

A)QUERY BILLING_HOURS SELECT Client_No, Date
WHERE Hours<8
B)QUERY client_No, Date FROM BILLING_HOURS
WHERE Hours>8
C)SELECT Client_No, Date WHERE Hours<8
D)SELECT Client_No, Date FROM BILLING_HOURS
WHERE Hours<8
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
68
Which of the following SQL statements would extract the employee number and date for every instance that had a billing rate of $150?

A)SELECT Employee_No, Date FROM BILLING_HOURS
WHERE Rate=150
B)QUERY Employee_No, Date FROM BILLING_HOURS
WHERE Rate=150
C)SELECT Employee_No, Date WHERE Rate=150
D)QUERY BILLING_HOURS SELECT Employee_No, Date
WHERE Hours>8
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
69
Which of the following SQL statements would extract the client number and date for every instance that had a billing rate of $150?

A)QUERY BILLING_HOURS SELECT Client_No, Date
WHERE Rate=150
B)QUERY client_No, Date FROM BILLING_HOURS
WHERE Rate=150
C)SELECT Client_No, Date WHERE Rate=150
D)SELECT Client_No, Date FROM BILLING_HOURS
WHERE Rate=150
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
70
Attributes that consist of multiple subattributes are referred to as _________________________.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
71
A(n) ______________________________ relationship occurs between two different instances of an entity.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
72
A(n) _________________________ is the attribute whose value is unique for every entity that will ever appear in the database.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
73
Which of the following relational commands would a manager use to combine the data from two related relations into a third relation?

A)select
B)project
C)join
D)display
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
74
Which of the following is a valid SQL command?

A)MODIFY
B)INSERT
C)ADD
D)APPEND
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
75
The notation 1,N is used to specify the relationship type of _________________________.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
76
A(n) ____________________ is an item of data that characterizes an entity or relationship.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
77
Which of the following SQL statements would extract the employee number and date for every instance that an employee worked more than 8 hours any particular day?

A)SELECT Employee_No, Date FROM BILLING_HOURS
WHERE Hours>8
B)QUERY Employee_No, Date FROM BILLING_HOURS
WHERE Hours>8
C)SELECT Employee_No, Date WHERE Hours>8
D)QUERY BILLING_HOURS SELECT Employee_No, Date
WHERE Hours>8
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
78
A(n) ____________________ in an accounting system can be classified as a resource, event, or agent about which data is collected.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
79
The ______________________________ specifies the degree of minimum participation of one entity in the relationship with the other entity.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
80
____________________ map and define the way in which data can be extracted from a database.
Unlock Deck
Unlock for access to all 93 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 93 flashcards in this deck.