Professional Documents
Culture Documents
Mid Term Multiple Choice - ANLY 6250 70R F22
Mid Term Multiple Choice - ANLY 6250 70R F22
Instructions
The Mid-term is open book, but not open classmate or open professor.
Attempt History
Attempt Time Score
Question 1 1 / 1 pts
Foreign Key
A record in Table A can relate to zero, one, or many records in Table B
while a record in Table B can relate to zero, one, or many records in Table
B
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 1/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
Correct! Each record in Table A relates to one, and only one, record in Table B
Question 2 1 / 1 pts
A record in Table A can relate to zero, one, or many records in Table B
while a record in Table B can relate to zero, one, or many records in Table
B
Each record in Table A relates to one, and only one, record in Table B
Correct! A record in Table A can relate to zero, one, or many records in Table B
Question 3 1 / 1 pts
Question 4 1 / 1 pts
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 2/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
Correct! Cardinality
Table joins
Question 5 1 / 1 pts
Question 6 1 / 1 pts
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 3/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
Question 7 0 / 1 pts
What happens when you join two tables but there are no common
columns that exist in the tables or the columns were not specified in the
query?
You cannot, you must always specific how tables are joined
Your DBA will stop your query and likely send you to time-out
ou Answered The database uses the ERD and relationships are implicit
Question 8 1 / 1 pts
Correct!
facts like numbers, words, measurement, etc that are related to an object
Organized collection of information stored electronically in a computer
system
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 4/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
Question 9 1 / 1 pts
What is a database?
An object comprised of columns and rows holding a collection of related
data
Correct!
Organized collection of structured data stored electronically in a computer
system
Database where stored pieces of data have a relationship to other stored
pieces of data
Question 10 1 / 1 pts
Correct!
Computerized data-keeping system designed to define, manipulate,
retrieve, and manage data
Software used to create, edit, and execute SQL queries against a database
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 5/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
A database object comprised of columns and rows holding a collection of
related data
Question 11 0 / 1 pts
Data Management
ERD development
Question 12 1 / 1 pts
Cardinality
ERD
Derived Table
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 6/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
Question 13 1 / 1 pts
Correct! True
False
Question 14 1 / 1 pts
Question 15 1 / 1 pts
Correct! SELECT
Correct! INSERT
Correct! UPDATE
CREATE
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 7/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
Question 16 1 / 1 pts
Computerized data-keeping system designed to define, manipulate,
retrieve, and manage data
Question 17 1 / 1 pts
Foreign Record
Join
Primary Record
Question 18 1 / 1 pts
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 8/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
When joining Table A and Table B, using a FULL OUTER JOIN will
Correct!
Return all records in Table A and all records in Table B regardless of
matches
orrect Answer
Used with aggregate functions to specify the level of granularity the results
of the SELECT statement will be at
Correct!
When you have aggregate and non-aggregate columns in your SELECT
statement
Question 20 1 / 1 pts
ORDER BY clause
JOIN clause
WHERE clause
Question 21 0 / 1 pts
orrect Answer Return all matching records in Table A and matching records in Table B
Return all records in Table A and all records in Table B regardless of
matches
Question 22 1 / 1 pts
Correct!
Used to indicate what tables are used in your query, how they relate to
each other, and any conditions applied while joining tables
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 10/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
Question 23 1 / 1 pts
Return all records in Table A and all records in Table B regardless of
matches
Question 24 1 / 1 pts
Each record in Table A relates to one, and only one, record in Table B
Correct!
A record in Table A can relate to zero, one, or many records in Table B
while a record in Table B can relate to zero, one, or many records in Table
A
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 11/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
Question 25 0 / 1 pts
infinity
Question 26 1 / 1 pts
Master Column
Master Key
Composite Key
Question 27 0 / 1 pts
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 12/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
ou Answered
An object comprised of columns and rows holding a collection of related
data
Organized collection of structured data stored electronically in a computer
system
orrect Answer
Database where stored pieces of data have a relationship to other stored
pieces of data
Question 28 1 / 1 pts
When joining Table A and Table be, using a RIGHT JOIN will
Correct! Return all matching records in Table A and all records in Table B
Confuse anyone who looks at the SQL because a RIGHT JOIN doesn't
exist
Question 29 1 / 1 pts
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 13/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
A database object comprised of columns and rows holding a collection of
related data
Question 30 1 / 1 pts
Cross Join
Cartesian Product
Question 31 1 / 1 pts
Question 32 1 / 1 pts
Question 33 1 / 1 pts
Question 34 0 / 1 pts
A subquery is a:
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 15/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
orrect Answer
Select statement inside another SQL statement, useful for returning 1
column in a WHERE clause to apply a table condition
ou Answered
Select statement inside another SQL statement, useful for returning
multiple columns in a WHERE clause to apply table conditions
Question 35 0 / 1 pts
Subquery
Stored Query
Question 36 1 / 1 pts
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 16/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
Question 37 1 / 1 pts
Correct! In a Dad-abase
A notebook
Question 38 3 / 3 pts
Answer 1:
Correct! SELECT
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 17/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
Answer 2:
Correct! FROM
Answer 3:
Correct! WHERE
Correct! FROM
Correct! SELECT
ou Answered WHERE
You don't always have to have a WHERE clause, only if you want to
apply conditions to the tables in your WHERE clause
GROUP BY
Question 40 1 / 1 pts
MAX
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 18/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
Correct! COALESCE
COUNT
SUM
Question 41 0 / 1 pts
ColumnA (INTEGER) = 7
ColumnB (INTEGER) = 2
FROM Table
4
orrect Answer 3
ou Answered 3.5
SQL Error, you cannot divide two columns of the same type
ou Answered
Use column names in your results despite your company's internal jargon
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 19/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
Question 43 1 / 1 pts
Returns only records in the first table and only matching records from the
second table
Question 44 1 / 2 pts
We want all Artists that have more than 10 tracks. Complete the following
statement
, Artist
FROM Track
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 20/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
Answer 1:
ou Answered Where
Answer 2:
Correct! >
Question 45 1 / 1 pts
FROM TableA a
ON a.Column1 = b.Column1
Correct!
Returns all records in Table A and all records in Table B regardless of
matches
Returns all matching records in Table A and matching records in Table B
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 21/22
12/13/22, 11:34 PM Mid-Term Multiple Choice: ANLY-6250-70R-F22
Question 46 1 / 1 pts
When filtering on aggregate columns you can use either the WHERE
clause or HAVING clause
True
Correct! False
Question 47 1 / 1 pts
HAVING
ORDER BY
Correct! WHERE
GROUP BY
https://suu.instructure.com/courses/793563/quizzes/2864032?module_item_id=19130499 22/22