Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Which of the following functions can be used to determine how many months past since a book has been published? Question 1 options: MONTH MON

Which of the following functions can be used to determine how many months past since a book has been published?
Question 1 options:
MONTH
MON
MONTHS_BETWEEN
none of above
Question 2(2.5 points)
Listen
UPPER function can be used in WHERE clause to match any capital values
Question 2 options:
True
False
Question 3(2.5 points)
Listen
Which of the following SQL statements produces "Welcome To Class" as the output?
Question 3 options:
SELECT "Welcome To Class" FROM dual;
SELECT INITCAP('WELCOME TO CLASS') FROM dual;
SELECT LOWER('WELCOME TO CLASS') FROM dual;
both a and b
none of above
Question 4(2.5 points)
Listen
NVL and NVL2 functions are both same.
Question 4 options:
True
False
Question 5(2.5 points)
Listen
Which of the following determines how long ago orders that haven't shipped were
received?
Question 5 options:
SELECT order#, shipdate-orderdate delay
FROM orders;
SELECT order#, SYSDATE - orderdate
FROM orders
WHERE shipdate IS NULL;
SELECT order#, NVL(shipdate,0)
FROM orders
WHERE orderdate is NULL;
SELECT order#, NULL(shipdate)
FROM orders;
Question 6(2.5 points)
Listen
Single Row functions can work on several records at a time.
Question 6 options:
True
False
Question 7(2.5 points)
Listen
Which of the following functions can produce different results, depending on the value of a specified column? This function behaves same as IF THEN clause in programming
Question 7 options:
NVL
DECODE
UPPER
SUBSTR

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essentials of Database Management

Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman

1st edition

133405680, 9780133547702 , 978-0133405682

More Books

Students also viewed these Databases questions

Question

Are there professional development opportunities?

Answered: 1 week ago

Question

=+1. What are the core best practices for social care?

Answered: 1 week ago