Deck 9: Database Systems

Full screen (f)
exit full mode
Question
Given the relation below

X: ABC257336442522\begin{array} { l l l } \mathrm { A } & \mathrm { B } & \mathrm { C } \\\hline 2 & 5 & 7 \\3 & 3 & 6 \\4 & 4 & 2 \\5 & 2 & 2\end{array}
What values will be retrieved by the following SQL statement?
SELECT A,B FROM X WHERE X.B = X.C

A) 2, 5
B) 3, 6
C) 2, 2
D) 5, 2
Use Space or
up arrow
down arrow
to flip the card.
Question
Given the two relations X and Y below

 X:  A  B 7 s2 Z Y:CDt3r2\begin{array}{l}\text { X: } \quad \begin{array} { l l } \text { A } & \text { B } \\\hline 7 & \mathrm {~s} \\2 & \text { Z }\end{array}\\\\\mathrm { Y } :\quad \begin{array} { l l } \mathrm { C } & \mathrm { D } \\\hline \mathrm { t } & 3 \\\mathrm { r } & 2\end{array}\end{array}
What value would be retrieved by executing the following SQL statement?
SELECT Y.C FROM X,Y WHERE X.A < Y.D

A) s
B) z
C) t
D) r
Question
Given the relation X below

X: ABC257333432528\begin{array} { l l l } \mathrm { A } & \mathrm { B } & \mathrm { C } \\\hline 2 & 5 & 7 \\3 & 3 & 3 \\4 & 3 & 2 \\5 & 2 & 8\end{array}
What value will be extracted by the following query?
TEMP ? SELECT from X where B > C
RESULT ? PROJECT A from TEMP

A) 2
B) 3
C) 4
D) 5
Question
Given the relation X below


X: ABC257333442528\begin{array} { l l l } \mathrm { A } & \mathrm { B } & \mathrm { C } \\\hline 2 & 5 & 7 \\3 & 3 & 3 \\4 & 4 & 2 \\5 & 2 & 8\end{array}
What value will be retrieved by the following query?
TEMP ? SELECT from X where B = C
RESULT ? PROJECT B from TEMP

A) 2
B) 3
C) 4
D) 5
Question
Which of the following relational operations is performed by the SQL statement below? SELECT A,B,C FROM X

A) SELECT
B) PROJECT
C) JOIN
Question
Which of the following file structures is associated with the problem of clustering?

A) Sequential
B) Indexed
C) Hash
Question
Which of the following data mining techniques would be applied when trying to identify traits that predict whether a citizen in a democracy will or will not vote?

A) Class description
B) Class discrimination
C) Cluster analysis
D) Association analysis
Question
Which of the following relational operations extracts entire columns from a relation?

A) SELECT
B) PROJECT
C) JOIN
Question
Which of the following relational operations combine data from more than one relation?

A) SELECT
B) PROJECT
C) JOIN
Question
Which of the following file structures requires a small "auxiliary" storage system that must be updated as entries in the file are inserted or deleted.

A) Sequential
B) Indexed
C) Hash
Question
Which of the following relational operations extracts entire rows from a relation?

A) SELECT
B) PROJECT
C) JOIN
Question
Which of the following features within a DBMS is not provided to maintain database integrity?

A) Concurrent transaction processing
B) Log
C) Locking protocol
D) Commit points
Question
Which of the following file structures is commonly used for the storage of text files?

A) Sequential
B) Indexed
C) Hash
Question
Which of the following accesses a database in terms of a database model?

A) Application software
B) Database management system
C) Actual database
Question
Which of the following data mining techniques would be applied when trying to identify any underlying heterogeneity within housing patterns in a community?

A) Class description
B) Class discrimination
C) Cluster analysis
D) Association analysis
Question
Which of the following data mining techniques would be applied when trying to identify traits that characterize the citizens of a democracy who fail to vote?

A) Class description
B) Class discrimination
C) Cluster analysis
D) Association analysis
Question
Which of the following is not a potential problem caused by multiple transactions manipulating a database at the same time?

A) Lost update problem
B) Clustering
C) Deadlock
D) Incorrect summary problem
Question
Which of the following file structures is most efficient in cases in which the file is always processed in its entirety a predetermined order?

A) Sequential
B) Indexed
C) Hash
Question
Which of the following describes only the portion of a database available to a particular user?

A) Database model
B) Schema
C) Subschema
D) DBMS
Question
Which of the following data mining techniques would be applied when trying to identify common properties between different groups of shoppers?

A) Class description
B) Class discrimination
C) Cluster analysis
D) Association analysis
Question
Given the two relations X and Y below
Given the two relations X and Y below   what values would be retrieved by executing the following statement? SELECT X.A,X.B,Y.C FROM X,Y WHERE X.A < Y.D<div style=padding-top: 35px>
what values would be retrieved by executing the following statement?
SELECT X.A,X.B,Y.C
FROM X,Y
WHERE X.A < Y.D
Question
Which of the operations SELECT,PROJECT,and JOIN are actually used when executing the following SQL instruction?
SELECT A,B
FROM X
WHERE C = D
Question
Place an X in the space before those requests below that require data mining techniques rather than traditional database techniques.Leave the other spaces blank.
_____ Identify all shoppers who bought dog food last week.
_____ Identify items that tend to be purchased by common shoppers.
_____ Identify any correlation between time-of-day and items purchased.
_____ Identify the items purchased during the first hour after opening the store.
Question
Identify two database models.
____________________
Question
List four data mining techniques.
_____________________
_____________________
_____________________
_____________________
Question
In a relational database,information is presented as though it were stored in tables called
_________________ ,each of which has columns called _________________ and rows
called _________________ .
Question
Suppose you were going to construct a hash file with 20 to 25 buckets using the division hash function discussed in the text.How many buckets should you actually use?
Question
Given the relation Employees containing the attributes Name,Address,and BirthDate,what question is answered by the following sequence of operations?
Temp ? SELECT from Employees where BirthDate < "January 4,1975"
Result? PROJECT Name from Temp
Question
Place an X in the space before those questions whose answers might be obtained by means of sequential pattern analysis.Leave the other spaces blank.
_____ What are progressing stages in youthful behavior that led to criminal activity?
_____ What are the symptoms of the various stages of a particular progressing disease?
_____ What crimes does a particular judge punish most harshly?
_____ What items had the highest sales volume last week?
Question
Suppose a relation X had the attributes Name,EmployeeID,and Address.Complete the following statement to obtain a list of the names and addresses of all employees.
Result ← ___________________________________ from X
Question
Place an X in the space before those structures that are designed to provide efficient access to randomly chosen items.Leave the other spaces blank.
_____ Sequential file
_____ Indexed file
_____ Hash file
_____ Hash table
Question
Suppose a relation X had the attributes PartID (part identification number),StockGoal (quantity held when fully stocked),and CurrentQuantity (quantity actually in stock).Complete the following statement to obtain information about those parts that are not fully stocked.
Result ? SELECT from X where
Question
Given the relation Employees containing the attributes Name,Address,and CurrentJobID and the relation Jobs containing the attributes JobID,SkillRating,Department,what question is answered by the following SQL statement?
SELECT SkillRating
FROM Employees,Jobs
WHERE Employees.Name = "Joe Smith"
AND Employees.CurrentJobID = Jobs.JobID
Question
Place an X in the space before those issues that are not problems associated with data mining.Leave the other spaces blank.
_____ Cascading rollback
_____ Deadlock
_____ Incorrect summary problem
_____ Lost update problem
Question
Given the three relations X,Y,and Z below
Given the three relations X,Y,and Z below   what values would be retrieved by executing the following statement? SELECT X.B,Y.C,Z.F FROM X,Y,Z WHERE X.A > Y.D AND X.A = Z.E<div style=padding-top: 35px>
what values would be retrieved by executing the following statement?
SELECT X.B,Y.C,Z.F
FROM X,Y,Z
WHERE X.A > Y.D AND X.A = Z.E
Question
Place an X in the space before those questions whose answers might be obtained by means of outlier analysis.Leave the other spaces blank.
_____ Which are the flawed parts on a production line conveyor belt?
_____ What items have not sold during the last two days?
_____ What sales region generated the most orders over the last sales period?
_____ Which shoppers in a busy shopping mall are potential shoplifters?
Question
Given the two relations X and Y below
 X: AB2 s5Z Y: CDt1r3 W2\begin{array}{l}\text { X: }&\begin{array}{ll}\mathrm{A} & \mathrm{B} \\\hline 2 & \mathrm{~s} \\5 & \mathrm{Z}\end{array}&\text { Y: }&\begin{array}{ll}\mathrm{C} & \mathrm{D} \\\hline \mathrm{t} & 1 \\\mathrm{r} & 3 \\\mathrm{~W} & 2\end{array}\end{array}
what values would be in the tuple produced by the following statement?
Result ? JOIN X and Y where X.A < Y.D
Question
The term "lossless decomposition" refers to a decomposition of one relation into several relations such
that _____________________________________________ .
Question
Given the two relations X and Y below
Given the two relations X and Y below   what values would be in the tuple produced by the following statements? Temp ? JOIN X and Y where X.A = Y.D Result ? PROJECT X.B,Y.C from Temp<div style=padding-top: 35px>
what values would be in the tuple produced by the following statements?
Temp ? JOIN X and Y where X.A = Y.D
Result ? PROJECT X.B,Y.C from Temp
Question
Given the relation Employees containing the attributes Name,Address,and CurrentJobID and the relation Jobs containing the attributes JobID,SkillRating,Department,what question is answered by the following sequence of operations?
Temp1 ? JOIN Employees and Jobs
where Employees.CurrentJobID = Jobs.JobID
Temp2 ? SELECT from Temp1 where Department = "Personnel"
Result ? PROJECT Name from Temp2
Question
Given the relation Parts containing the attributes PartName,PartNumber,and SupplierID as well as the relation Suppliers containing the attributes SupplierID,Address,FaxNumber,write a sequence of SELECT,PROJECT,and JOIN operations to obtain the supplier identifications and fax numbers for all the suppliers that supply the part whose part number is X4J26.
Question
What does it mean to say that an object is persistent?
Question
Describe the wound-wait protocol.
Question
Describe a scenario in which computing the total deposits in a bank while also transferring $100 from account X to account Y would result in a final sum that is $100 too great.Then describe a scenario in which the final sum turns out to be $100 too small.
Question
Given a relation called People whose attributes are Name,Father,and Mother (containing each person's name as well as the name of that person's parents),write an SQL statement to obtain a list of all the children of Nathan.
Question
Describe the distinction between a traditional database and a data warehouse.
Question
Given the relation Parts containing the attributes PartName,PartNumber,and SupplierID as well as the relation Suppliers containing the attributes SupplierID,Address,FaxNumber,write an SQL statement to obtain the supplier identifications and fax numbers for all the suppliers that supply the part whose part number is X4J26.
Question
Translate the following query into a single SQL statement.
Temp ← SELECT from X where A = B
Result ← PROJECT A,C from Temp
Question
What information is available from a relational database containing one relation with the attributes Name,Employee identification number,and Address that is not available from a database containing two relations,one with attributes Name and Address and the other with attributes Address and Employee identification number? Explain your answer.
Question
Given the two relations X and Y below
Given the two relations X and Y below   draw the relation Result that would be produced by the following statements? Temp ← JOIN X and Y where X.A > Y.D Result ← PROJECT X.B,Y.C from Temp<div style=padding-top: 35px>
draw the relation Result that would be produced by the following statements?
Temp ← JOIN X and Y where X.A > Y.D
Result ← PROJECT X.B,Y.C from Temp
Question
Describe the distinction between class description and cluster analysis.
Question
If a database contained a relation containing information about individual people (name,address,birthday,etc.)and another relation containing information about music composers (name,style,education level,etc.),how would you extend the database's design to include links between each individual and his or her favorite composer?
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/52
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 9: Database Systems
1
Given the relation below

X: ABC257336442522\begin{array} { l l l } \mathrm { A } & \mathrm { B } & \mathrm { C } \\\hline 2 & 5 & 7 \\3 & 3 & 6 \\4 & 4 & 2 \\5 & 2 & 2\end{array}
What values will be retrieved by the following SQL statement?
SELECT A,B FROM X WHERE X.B = X.C

A) 2, 5
B) 3, 6
C) 2, 2
D) 5, 2
5, 2
2
Given the two relations X and Y below

 X:  A  B 7 s2 Z Y:CDt3r2\begin{array}{l}\text { X: } \quad \begin{array} { l l } \text { A } & \text { B } \\\hline 7 & \mathrm {~s} \\2 & \text { Z }\end{array}\\\\\mathrm { Y } :\quad \begin{array} { l l } \mathrm { C } & \mathrm { D } \\\hline \mathrm { t } & 3 \\\mathrm { r } & 2\end{array}\end{array}
What value would be retrieved by executing the following SQL statement?
SELECT Y.C FROM X,Y WHERE X.A < Y.D

A) s
B) z
C) t
D) r
t
3
Given the relation X below

X: ABC257333432528\begin{array} { l l l } \mathrm { A } & \mathrm { B } & \mathrm { C } \\\hline 2 & 5 & 7 \\3 & 3 & 3 \\4 & 3 & 2 \\5 & 2 & 8\end{array}
What value will be extracted by the following query?
TEMP ? SELECT from X where B > C
RESULT ? PROJECT A from TEMP

A) 2
B) 3
C) 4
D) 5
4
4
Given the relation X below


X: ABC257333442528\begin{array} { l l l } \mathrm { A } & \mathrm { B } & \mathrm { C } \\\hline 2 & 5 & 7 \\3 & 3 & 3 \\4 & 4 & 2 \\5 & 2 & 8\end{array}
What value will be retrieved by the following query?
TEMP ? SELECT from X where B = C
RESULT ? PROJECT B from TEMP

A) 2
B) 3
C) 4
D) 5
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following relational operations is performed by the SQL statement below? SELECT A,B,C FROM X

A) SELECT
B) PROJECT
C) JOIN
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
6
Which of the following file structures is associated with the problem of clustering?

A) Sequential
B) Indexed
C) Hash
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
7
Which of the following data mining techniques would be applied when trying to identify traits that predict whether a citizen in a democracy will or will not vote?

A) Class description
B) Class discrimination
C) Cluster analysis
D) Association analysis
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
8
Which of the following relational operations extracts entire columns from a relation?

A) SELECT
B) PROJECT
C) JOIN
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
9
Which of the following relational operations combine data from more than one relation?

A) SELECT
B) PROJECT
C) JOIN
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
10
Which of the following file structures requires a small "auxiliary" storage system that must be updated as entries in the file are inserted or deleted.

A) Sequential
B) Indexed
C) Hash
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following relational operations extracts entire rows from a relation?

A) SELECT
B) PROJECT
C) JOIN
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
12
Which of the following features within a DBMS is not provided to maintain database integrity?

A) Concurrent transaction processing
B) Log
C) Locking protocol
D) Commit points
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
13
Which of the following file structures is commonly used for the storage of text files?

A) Sequential
B) Indexed
C) Hash
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
14
Which of the following accesses a database in terms of a database model?

A) Application software
B) Database management system
C) Actual database
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
15
Which of the following data mining techniques would be applied when trying to identify any underlying heterogeneity within housing patterns in a community?

A) Class description
B) Class discrimination
C) Cluster analysis
D) Association analysis
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
16
Which of the following data mining techniques would be applied when trying to identify traits that characterize the citizens of a democracy who fail to vote?

A) Class description
B) Class discrimination
C) Cluster analysis
D) Association analysis
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
17
Which of the following is not a potential problem caused by multiple transactions manipulating a database at the same time?

A) Lost update problem
B) Clustering
C) Deadlock
D) Incorrect summary problem
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
18
Which of the following file structures is most efficient in cases in which the file is always processed in its entirety a predetermined order?

A) Sequential
B) Indexed
C) Hash
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
19
Which of the following describes only the portion of a database available to a particular user?

A) Database model
B) Schema
C) Subschema
D) DBMS
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
20
Which of the following data mining techniques would be applied when trying to identify common properties between different groups of shoppers?

A) Class description
B) Class discrimination
C) Cluster analysis
D) Association analysis
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
21
Given the two relations X and Y below
Given the two relations X and Y below   what values would be retrieved by executing the following statement? SELECT X.A,X.B,Y.C FROM X,Y WHERE X.A < Y.D
what values would be retrieved by executing the following statement?
SELECT X.A,X.B,Y.C
FROM X,Y
WHERE X.A < Y.D
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
22
Which of the operations SELECT,PROJECT,and JOIN are actually used when executing the following SQL instruction?
SELECT A,B
FROM X
WHERE C = D
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
23
Place an X in the space before those requests below that require data mining techniques rather than traditional database techniques.Leave the other spaces blank.
_____ Identify all shoppers who bought dog food last week.
_____ Identify items that tend to be purchased by common shoppers.
_____ Identify any correlation between time-of-day and items purchased.
_____ Identify the items purchased during the first hour after opening the store.
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
24
Identify two database models.
____________________
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
25
List four data mining techniques.
_____________________
_____________________
_____________________
_____________________
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
26
In a relational database,information is presented as though it were stored in tables called
_________________ ,each of which has columns called _________________ and rows
called _________________ .
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
27
Suppose you were going to construct a hash file with 20 to 25 buckets using the division hash function discussed in the text.How many buckets should you actually use?
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
28
Given the relation Employees containing the attributes Name,Address,and BirthDate,what question is answered by the following sequence of operations?
Temp ? SELECT from Employees where BirthDate < "January 4,1975"
Result? PROJECT Name from Temp
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
29
Place an X in the space before those questions whose answers might be obtained by means of sequential pattern analysis.Leave the other spaces blank.
_____ What are progressing stages in youthful behavior that led to criminal activity?
_____ What are the symptoms of the various stages of a particular progressing disease?
_____ What crimes does a particular judge punish most harshly?
_____ What items had the highest sales volume last week?
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
30
Suppose a relation X had the attributes Name,EmployeeID,and Address.Complete the following statement to obtain a list of the names and addresses of all employees.
Result ← ___________________________________ from X
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
31
Place an X in the space before those structures that are designed to provide efficient access to randomly chosen items.Leave the other spaces blank.
_____ Sequential file
_____ Indexed file
_____ Hash file
_____ Hash table
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
32
Suppose a relation X had the attributes PartID (part identification number),StockGoal (quantity held when fully stocked),and CurrentQuantity (quantity actually in stock).Complete the following statement to obtain information about those parts that are not fully stocked.
Result ? SELECT from X where
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
33
Given the relation Employees containing the attributes Name,Address,and CurrentJobID and the relation Jobs containing the attributes JobID,SkillRating,Department,what question is answered by the following SQL statement?
SELECT SkillRating
FROM Employees,Jobs
WHERE Employees.Name = "Joe Smith"
AND Employees.CurrentJobID = Jobs.JobID
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
34
Place an X in the space before those issues that are not problems associated with data mining.Leave the other spaces blank.
_____ Cascading rollback
_____ Deadlock
_____ Incorrect summary problem
_____ Lost update problem
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
35
Given the three relations X,Y,and Z below
Given the three relations X,Y,and Z below   what values would be retrieved by executing the following statement? SELECT X.B,Y.C,Z.F FROM X,Y,Z WHERE X.A > Y.D AND X.A = Z.E
what values would be retrieved by executing the following statement?
SELECT X.B,Y.C,Z.F
FROM X,Y,Z
WHERE X.A > Y.D AND X.A = Z.E
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
36
Place an X in the space before those questions whose answers might be obtained by means of outlier analysis.Leave the other spaces blank.
_____ Which are the flawed parts on a production line conveyor belt?
_____ What items have not sold during the last two days?
_____ What sales region generated the most orders over the last sales period?
_____ Which shoppers in a busy shopping mall are potential shoplifters?
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
37
Given the two relations X and Y below
 X: AB2 s5Z Y: CDt1r3 W2\begin{array}{l}\text { X: }&\begin{array}{ll}\mathrm{A} & \mathrm{B} \\\hline 2 & \mathrm{~s} \\5 & \mathrm{Z}\end{array}&\text { Y: }&\begin{array}{ll}\mathrm{C} & \mathrm{D} \\\hline \mathrm{t} & 1 \\\mathrm{r} & 3 \\\mathrm{~W} & 2\end{array}\end{array}
what values would be in the tuple produced by the following statement?
Result ? JOIN X and Y where X.A < Y.D
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
38
The term "lossless decomposition" refers to a decomposition of one relation into several relations such
that _____________________________________________ .
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
39
Given the two relations X and Y below
Given the two relations X and Y below   what values would be in the tuple produced by the following statements? Temp ? JOIN X and Y where X.A = Y.D Result ? PROJECT X.B,Y.C from Temp
what values would be in the tuple produced by the following statements?
Temp ? JOIN X and Y where X.A = Y.D
Result ? PROJECT X.B,Y.C from Temp
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
40
Given the relation Employees containing the attributes Name,Address,and CurrentJobID and the relation Jobs containing the attributes JobID,SkillRating,Department,what question is answered by the following sequence of operations?
Temp1 ? JOIN Employees and Jobs
where Employees.CurrentJobID = Jobs.JobID
Temp2 ? SELECT from Temp1 where Department = "Personnel"
Result ? PROJECT Name from Temp2
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
41
Given the relation Parts containing the attributes PartName,PartNumber,and SupplierID as well as the relation Suppliers containing the attributes SupplierID,Address,FaxNumber,write a sequence of SELECT,PROJECT,and JOIN operations to obtain the supplier identifications and fax numbers for all the suppliers that supply the part whose part number is X4J26.
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
42
What does it mean to say that an object is persistent?
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
43
Describe the wound-wait protocol.
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
44
Describe a scenario in which computing the total deposits in a bank while also transferring $100 from account X to account Y would result in a final sum that is $100 too great.Then describe a scenario in which the final sum turns out to be $100 too small.
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
45
Given a relation called People whose attributes are Name,Father,and Mother (containing each person's name as well as the name of that person's parents),write an SQL statement to obtain a list of all the children of Nathan.
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
46
Describe the distinction between a traditional database and a data warehouse.
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
47
Given the relation Parts containing the attributes PartName,PartNumber,and SupplierID as well as the relation Suppliers containing the attributes SupplierID,Address,FaxNumber,write an SQL statement to obtain the supplier identifications and fax numbers for all the suppliers that supply the part whose part number is X4J26.
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
48
Translate the following query into a single SQL statement.
Temp ← SELECT from X where A = B
Result ← PROJECT A,C from Temp
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
49
What information is available from a relational database containing one relation with the attributes Name,Employee identification number,and Address that is not available from a database containing two relations,one with attributes Name and Address and the other with attributes Address and Employee identification number? Explain your answer.
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
50
Given the two relations X and Y below
Given the two relations X and Y below   draw the relation Result that would be produced by the following statements? Temp ← JOIN X and Y where X.A > Y.D Result ← PROJECT X.B,Y.C from Temp
draw the relation Result that would be produced by the following statements?
Temp ← JOIN X and Y where X.A > Y.D
Result ← PROJECT X.B,Y.C from Temp
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
51
Describe the distinction between class description and cluster analysis.
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
52
If a database contained a relation containing information about individual people (name,address,birthday,etc.)and another relation containing information about music composers (name,style,education level,etc.),how would you extend the database's design to include links between each individual and his or her favorite composer?
Unlock Deck
Unlock for access to all 52 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 52 flashcards in this deck.