Post-Quiz - Attempt Review Function
Post-Quiz - Attempt Review Function
Dashboard / My courses / My SQL / Function-Scalar & Aggregate / Post-Quiz
Quiz review
Started on Wednesday, 24 January 2024, 11:56 PM
State Finished
Completed on Thursday, 25 January 2024, 12:01 AM
Time taken 5 mins 22 secs
Marks 4.00/5.00
Grade 80.00 out of 100.00
Feedback Congratulations!!! You have passed by securing more than 80%
Question 1
Correct
46684
What will be the output for the below query:
Select one:
5.0
6
46684
Your answer is correct.
The correct answer is: 6
46684
https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1057548&cmid=6931 1/3
1/25/24, 12:02 AM Post-Quiz: Attempt review
Question 2
Incorrect
We need to create a report to display the order id, ship date and order total of your ORDER table. If the
order has not been shipped, your report must display 'Not Shipped'. If the total is not available,
In the ORDER table, the SHIPDATE column has a datatype of DATE. The TOTAL column has a
datatype of INT.
Select one:
SELECT ordid, shipdate "Not Shipped",
total "Not Available"
FROM order;
46684
SELECT ordid, IFNULL(shipdate, 'Not Shipped') SHIPDATE,
IFNULL(total,'Not Available')TOTAL FROM order;
FROM order;
SELECT ordid, IFNULL(shipdate, 'Not Shipped') as SHIPDATE,Total FROM order;
SELECT ordid,TO_CHAR(shipdate, 'Not Shipped'),
TO_CHAR(total,'Not Available')
FROM order;
The correct answer is: SELECT ordid, IFNULL(shipdate, 'Not Shipped') SHIPDATE,
IFNULL(total,'Not Available')TOTAL FROM order;
FROM order;
46684
Question 3
Correct
Group functions can be used in the where clause. State True or False.
Select one:
TRUE
FALSE
https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1057548&cmid=6931 2/3
1/25/24, 12:02 AM Post-Quiz: Attempt review
Question 4
Correct
Single row functions can be nested to any level. State true or False.
Select one:
TRUE
FALSE
Question 5
Correct
46684
All columns in the SELECT list that are not in group functions must be in the GROUP-BY clause. State True or False.
Select one:
FALSE
TRUE
46684
◄ Customer Count
Jump to...
Pre-Quiz ►
46684
https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1057548&cmid=6931 3/3