Pre-Quiz - Attempt Review Function
Pre-Quiz - Attempt Review Function
Dashboard / My courses / My SQL / Function-Scalar & Aggregate / Pre-Quiz
Quiz review
Started on Monday, 22 January 2024, 11:58 AM
State Finished
Completed on Monday, 22 January 2024, 12:01 PM
Time taken 2 mins 47 secs
Marks 1.00/5.00
Grade 20.00 out of 100.00
Feedback Oops!!! You have scored below 80%. So Kindly make necessary preparations and reattempt.
Question 1
Incorrect
46684
To generate a report that shows an increase in the credit limit by 15% for all customers. Customers whose credit limit has not been
entered should have the message "Not Available" displayed.
Select one:
SELECT TO_CHAR(NVL(cust_credit_limit*.15,'Not Available')) "NEW CREDIT"
FROM customers;
SELECT NULLIF(cust_credit_limit*.15,'Not Available')"NEW CREDIT"
FROM customers;
SELECT IFNULL(cust_credit_limit * 0.15,'Not Available') "NEW CREDIT"
FROM customers;
All the options
The correct answer is: SELECT IFNULL(cust_credit_limit * 0.15,'Not Available') "NEW CREDIT"
FROM customers;
Question 2
Correct
46684
Mark 1.00 out of 1.00
46684
Select the suitable option for fetching the output of the following query. select substr("Oracle World",1,6) from dual;
Select one:
racle Wo
Oracle
racle W
racle
https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1009153&cmid=6911 1/3
1/22/24, 12:04 PM Pre-Quiz: Attempt review
Question 3
Incorrect
Which statement is true regarding the default behavior of the ORDER BY clause?
Select one:
Numeric values are displayed from the maximum to the minimum value if they have decimal positions
In a character sort, the values are case-sensitive
NULL values are not considered at all by the sort operation
Only those columns that are specified in the SELECT list can be used in the ORDER BY clause
The correct answer is: In a character sort, the values are case-sensitive
Question 4
Incorrect
results from the EMP table prior to the actual modification. If you do not want to store the results in the database, which statement is
valid?
Select one:
You need to add a column to the EMP table.
You need to give the arithmetic expression that involves the salary increment in the SET clause
of the UPDATE statement.
You need to give the arithmetic expression that involves the salary increment in the DISPLAY
You need to give the arithmetic expression that involves the salary increment in the UPDATE
clause of the SELECT statement.
46684
The correct answer is: You need to give the arithmetic expression that involves the salary increment in the DISPLAY
clause of the SELECT statement.
46684
https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1009153&cmid=6911 2/3
1/22/24, 12:04 PM Pre-Quiz: Attempt review
Question 5
Incorrect
Select one:
46684
Add a second condition to the WHERE condition.
The correct answer is: Change the operator in the WHERE condition.
◄ Post-Quiz
Jump to...
FUNCTIONS Introduction ►
46684
46684
https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1009153&cmid=6911 3/3