Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
MOD
TO_DATE('01-Jun-2004') - TO_DATE('01-Oct-2004')
Which statement about the date format for this value is true?
The RR date format will interpret the year as 1989, and the YY date format will
interpret the year as 2089
Columns with the same names must have compatible data types
'True'.
1
If you use the RR format when writing a query using the date 27-Oct-17 and the year
is 2001, what year would be the result?
2017
IN
You need to join all the rows in the EMPLOYEES table to all the rows in the
EMP_REFERENCE table. Which type of join should you create?
A cross join
'False'.
Which functions can be used to manipulate number or date column values, but NOT
character column values?
TRUNC, ROUND
You need to subtract three months from the current date. Which function should you
use?
ADD_MONTHS
All Human Resources data is stored in a table named EMPLOYEES. You have been
asked to create a report that displays each employee's name and salary. Each
employee's salary must be displayed in the following format: $000,000.00. Which
function should you include in a SELECT statement to achieve the desired result?
TO_CHAR
LENGTH
Character functions accept character arguments and only return character values.
'False'.
Which SQL function is used to return the position where a specific character string
begins within a larger character string?
INSTR
'True'.
CASE
Columns with the same names must have the same precision and datatype.
The keywords JOIN _____________ should be used to join tables with the same
column names but different datatypes.
USING
You need to display each employee's name in all uppercase letters. Which function
should you use?
UPPER
'False'.