Answered You can buy a ready-made answer or pick a professional tutor to order an original one.
Question 12 PointsWhat type of JOIN returns all rows from the first table and any matching rows from the second table? FULL OUTER JOIN LEFT OUTER JOIN INNER JOIN RIGHT OUTER JOIN Question 22 PointsWhi
- Question 12 Points
What type of JOIN returns all rows from the first table and any matching rows from the second table?
FULL OUTER JOIN
LEFT OUTER JOIN
INNER JOIN
RIGHT OUTER JOIN
- Question 22 Points
Which records will the following FROM clause select?
FROM Faculty LEFT JOIN Classes
All Faculty records and any Class records that are related to them
Any Class records that are related to Faculty records
All Class records and any Faculty records that are related to them
Any Faculty records that are related to Class records
- Question 32 Points
When testing for NULL values to find Customers who have no Orders, which column is best to include in the WHERE clause below:
WHERE __________ IS NULL
Any foreign key from the Customers table
The primary key from the Customers table
The OrderDate column from the Orders table
The primary key from the Orders table
- Question 42 Points
What type of JOIN returns all rows from the second table and any matching rows from the first table?
RIGHT OUTER JOIN
FULL OUTER JOIN
INNER JOIN
LEFT OUTER JOIN
- Question 52 Points
What clause can be placed after the UNION keyword to indicate that you want the UNION performed by comparing columns that have the same name in each result set?
GROUP BY
CORRESPONDING
HAVING
WHERE
- Question 62 Points
Where is the ORDER BY clause placed to sort the results of a UNION?
The results of a UNION cannot be sorted
At the end of each SELECT statement
At the end of the last SELECT statement
At the end of the first SELECT statement
- Question 72 Points
When the _________ keyword is left out of a UNION, the database system automatically eliminates any duplicate rows.
EXCEPT
ANY
ALL
DISTINCT
- Question 82 Points
Which of the following is a requirement for the columns of the SELECT statements in a UNION?
Must have the same number of output columns specified.
Neither of these are requirements.
Each corresponding column must have a comparable value.
Both of these are requirements.
- Question 92 Points
A SELECT expression that is embedded within one of the clauses of a SELECT statement is a(n) ____________.
embedded SELECT
sub-SELECT
embedded query
subquery
- Question 102 Points
Which of the following is a request that can be answered using a subquery?
Create a list that combines agents and entertainers.
Create an index list of all the recipe classes, recipe titles, and ingredients.
Display products and the latest date the product was ordered.
Show me the students who have a grade of 85 or better in Art together with the faculty members who teach Art and have a proficiency rating of 9 or better.
- Question 112 Points
What type of subquery is an embedded SELECT expression that returns only one column and no more than one row?
Table subquery
Row subquery
Scalar subquery
- Question 122 Points
Which aggregate function calculates the mean for a value expression?
MAX(value expression)
MIN(value expression)
SUM(value expression)
AVG(value expression)
- Question 132 Points
When an aggregate function is used as a search condition it must be placed in (a) __________.
brackets []
subquery
parentheses ()
braces {}
- Question 142 Points
When using an aggregate function, what is the name of the column in the final result set?
The name is generated by the database system.
The name assigned in the AS clause.
None of these are possible names for the column.
All of these are possible names for the column.
The column has no name.
- Question 152 Points
What character is used to separate the columns referenced in the GROUP BY clause?
Comma ,
Period .
Colon :
Semicolon ;
- Question 162 Points
Which clause is used to group matching values of a specified column together?
WHERE
GROUP BY
FROM
HAVING
SELECT
- Question 172 Points
When the GROUP BY clause is used without aggregate functions it will give you the same result as what keyword?
DISTINCT
HAVING
WHERE
FROM
- Question 182 Points
Columns referenced in the WHERE clause must be a part of what?
The columns referenced in the ORDER BY clause.
Tables defined in the FROM clause.
The columns referenced in the SELECT clause.
The columns used in aggregate functions.
- Question 192 Points
Columns referenced in the HAVING clause must also be referenced where?
Enclosed within an aggregate function
Neither in the GROUP BY clause nor enclosed within an aggregate function
In the GROUP BY clause
Either in the GROUP BY clause or enclosed within an aggregate function
- Question 202 Points
When does the WHERE clause act on rows?
After the rows have been grouped
Before the rows are grouped
During the grouping of rows
- Question 212 Points
What SQL feature enables you to undo a series of changes to the data?
System Updates
UPDATE Undo
Transactions
UPDATE statements
- Question 222 Points
What character is used to separate multiple assignment statements in the SET clause?
Colon :
Semicolon ;
Comma ,
Period .
- Question 232 Points
What need would NOT be addressed with an UPDATE statement?
Increasing the price of all sports supplements by 3%
Creating a list of all supplements that contain Creatine by manufacturer
Appending the word ?powder? to all ItemDescriptions for MuscleMilk products
Changing the category of all sports supplements to ?Nutrition?
- Question 242 Points
If the new value of a column involves the old or current value of the column, the column must be referenced where?
The left side of the equal sign
The UPDATE clause
The WHERE clause
Both sides of the equal sign
- Question 252 Points
Data can be inserted into a table or what other database item?
View
Report
Function
Stored procedure
- Question 262 Points
When the INSERT statement is fetching rows of data to be placed into a table, the SELECT expression is used in place of what?
The VALUES clause
The value expression
The column name list
The table name
- Question 272 Points
In an INSERT statement, the column name list can be omitted if you are doing what?
Adding only a NULL value
Adding only a default value
Adding data only to the primary key column
Supplying a value for every column in the table
- Question 282 Points
Which clause is used to limit the rows deleted in the DELETE statement?
DELETE
HAVING
WHERE
FROM
- Question 292 Points
What would keep the DELETE statement without the WHERE clause from deleting all the rows in a table?
System logs
Referential integrity constraints
Transactions
- Question 302 Points
What is a possible method for ensuring that the correct rows are deleted from the database before the DELETE statement is run?
Using transactions
Creating a SELECT statement and then transferring the WHERE clause to the DELETE statement
Using system logs
- Question 3110 Points
We are planning our 1st Quarter marketing budget and need you to provide some historical sales data from the SalesOrdersModify database. Provide summarized data regarding the orders we received during the 1st quarter of 2018 (Jan.-Mar.) broken out by customer city and state. Include customer city and state names along with the count of all orders, the average order total, smallest and largest order totals and the sum of all orders from that city and state. Arrange them by state and then city. Please make sure the average is formatted with two digits after the decimal place. (20 rows)
- Question 3210 Points
We are planning a postcard mailing to promote our performers who play Show Tunes or Standards. Using the EntertainmentAgencyModify database, list the full name and mailing address for all customers who did not book any performers in 2018 who play Show Tunes or Standards so that we can include them in the mailing. (Hint: create a subquery to list all customers who DID book performers who play those musical styles and then test for NULL to see which customers are not in that list) You must use the names of the musical styles, not the styleID numbers. (7 rows)
- Question 3310 Points
Our EntertainmentAgencyModify database is encountering performance issues because of its size. Archive all Engagements that both started and ended prior to March 1, 2018 into the Engagements_Archive table. After archiving the old Engagements, remove them from the original Engagements table to reduce the size of that table. Remember to use transactions for each of these two queries to protect your data. (45 rows)
(Note: Refer to the schema in Question 32 for relationships.)
- Question 3410 Points
We are looking for customer endorsements of the performer "Modern Dance". Provide a list of names and phone numbers for any customers in the EntertainmentAgencyModify database who have ever booked this performer. Remember that some of these engagements may now be archived. Put the list of customers in alphabetical order by last name and first name. (Hint: use a SQL command that will allow you to combine the results of two similar queries, one for Engagements and one for Engagements_Archive, into a single result set.) (8 rows)
(Note: Refer to the schema in Question 32 for relationships.)
- @
- 1767 orders completed
- ANSWER
-
Tutor has posted answer for $50.00. See answer's preview
****************************************************************************************************************************************************************************