MySQL - Week 3 Quiz
MySQL - Week 3 Quiz
Yes (MINE)
No
Question 2
It is important that you work through the Teradata exercises for before
attempting this quiz!
Given Table A (first table to be entered in the query) and Table B (second table to
be entered in the query) the query result shown below is a result of what kind of
join?
Full Outer Join (MINE)
Inner Join
Right Join
Left Join
Question 3
On what day was Dillardʼs income based on total sum of purchases the greatest
05/02/28
05/02/01
04/12/18 (MINE)
04/11/01
Question 4
What is the deptdesc of the departments that have the top 3 greatest numbers of
skus from the skuinfo table associated with them?
Question 5
Which table contains the most distinct sku numbers?
skuinfo (MINE)
deptinfo
skstinfo
transact
Question 6
How many skus are in the skstinfo table, but NOT in the skuinfo table?
0 (MINE)
90,334
803,966
2388
Question 7
What is the average amount of profit Dillardʼs made per day?
$6,921,454
$1,527,903 (MINE)
$400,893,380
$30,222,191
Question 8
The store_msa table provides population statistics about the geographic location
around a store. Using one query to retrieve your answer, how many MSAs are there
within the state of North Carolina (abbreviated “NC”), and within these MSAs,
what is the lowest population level (msa_pop) and highest income level
(msa_income)?
Department 2200 described as Celebrt, brand Lancome, style 1924, color resol
eye
Department 800 described as Clinique, brand Clinique, style 6142, color DDML
(MINE)
Department 6400 described as Blue, brand Designer, style 6 7002-9, color edp
spray
Question 10
How many stores have more than 180,000 distinct skus associated with them in
the skstinfo table?
12 (MINE)
20
31
Question 11
Look at the data from all the distinct skus in the “cop” department with a “federal”
brand and a “rinse wash” color. You'll see that these skus have the same values in
some of the columns, meaning that they have some features in common.
In which columns do these skus have different values from one another,
meaning that their features differ in the categories represented by the
columns? Choose all that apply. Note that you will need more than a single correct
selection to answer the question correctly.
style (MINE)
size (MINE)
vendor
pack size
Question 12
How many skus are in the skuinfo table, but NOT in the skstinfo table?
803,966 (MINE)
90,334
2388
Question 13
In what city and state is the store that had the greatest total sum of sales?
Dallas, TX
McAllen, TX
Little Rock, AK
Metairie, LA (MINE)
Question 14
Given Table A (first table to be entered in the query) and Table B (second table to
be entered in the query) the query result shown below is a result of what kind of
join?
Inner Join (MINE)
Right Join
Left Join
Question 15
How many states have more than 10 Dillards stores in them?
9
24
15 (MINE)
Question 16
What is the suggested retail price of all the skus in the “reebok” department with
the “skechers” brand and a “wht/saphire” color?
$29.00 (MINE)
$19.00
$39.00
$4.00