0% found this document useful (0 votes)
98 views

Post-Quiz - Attempt Review Function

The document summarizes a student's review of a post-quiz attempt on SQL functions. It provides feedback on 5 multiple choice questions, indicating whether each answer was correct or incorrect and the score received. The summary includes the overall quiz result of 80% and a congratulatory message for passing.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
98 views

Post-Quiz - Attempt Review Function

The document summarizes a student's review of a post-quiz attempt on SQL functions. It provides feedback on 5 multiple choice questions, indicating whether each answer was correct or incorrect and the score received. The summary includes the overall quiz result of 80% and a congratulatory message for passing.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

1/25/24, 12:02 AM Post-Quiz: Attempt review


 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

Mark 1.00 out of 1.00

46684
What will be the output for the below query:

select ceil(5.3) from dual;

Select one:
5.0

None of the options

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

Mark 0.00 out of 1.00

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,

your report must display 'Not Available'.

In the ORDER table, the SHIPDATE column has a datatype of DATE. The TOTAL column has a

datatype of INT.

Which statement do you use to create this report?

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

Mark 1.00 out of 1.00

Group functions can be used in the where clause. State True or False.

Select one:
TRUE
FALSE

The correct answer is: FALSE


46684

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

Mark 1.00 out of 1.00

Single row functions can be nested to any level. State true or False.

Select one:
TRUE
FALSE

The correct answer is: TRUE

Question 5
Correct

Mark 1.00 out of 1.00

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

The correct answer is: TRUE

46684
◄ Customer Count

Jump to...

Pre-Quiz ►

46684

https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1057548&cmid=6931 3/3

You might also like