Quiz
QUIZ
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (12)
1Identify the SELECT statements that execute successfully.
- ASELECT first_name, last_name, job_id, salary*12
AS Yearly Sal
FROM employees; - BSELECT first_name, last_name, job_id, salary*12
"yearly sal"
FROM employees; - CSELECT first_name, last_name, job_id, salary AS
"yearly sal"
FROM employees; - DSELECT first_name+last_name AS name, job_Id,
salary*12 yearly sal
FROM employees;
- ASELECT first_name, last_name, job_id, salary*12
2Which of the following are valid operators for the WHERE clause?
- A>=
- BIS NULL
- C!=
- DIS LIKE
- EIN BETWEEN
- F<>
3Which of the following statements are true about single-row
functions?- AManipulate data items
- BAccept arguments and return one value per argument
- CAct on each row that is returned
- DReturn one result per set of rows
- EMay not modify the data type
- FCan be nested
- GAccept arguments that can be a column or an expression
4The TO_NUMBER function converts either character strings or date values to a number in the format specified by the optional format model.
- ATrue
- BFalse
5Identify the guidelines for group functions and the GROUP BY clause.
- AYou cannot use a column alias in the GROUP BY clause.
- BThe GROUP BY column must be in the SELECT clause.
- CBy using a WHERE clause, you can exclude rows before dividing them into groups.
- DThe GROUP BY clause groups rows and ensures order of the result set.
- EIf you include a group function in a SELECT clause, you cannot select individual results as well.
6The SQL:1999 standard join syntax supports the following types of joins. Which of these join types does Oracle join syntax
support?- AEquijoins
- BNonequijoins
- CLeft OUTER join
- DRight OUTER join
- EFull OUTER join
- FSelf joins
- GNatural joins
- HCartesian products
7Using a subquery is equivalent to performing two sequential queries and using the result of the first query as the search
value(s) in the second query.- ATrue
- BFalse
8Identify the set operator guidelines.
- AThe expressions in the SELECT lists must match in number.
- BParentheses may not be used to alter the sequence of execution.
- CThe data type of each column in the second query must match the data type of its corresponding column in the first query.
- DThe ORDER BY clause can be used only once in a compound query, unless a UNION ALL operator is used.
9The following statements produce the same results:

- ATrue
- BFalse
10You can use constraints to do the following:
- AEnforce rules on the data in a table whenever a row is inserted, updated, or deleted.
- BPrevent the deletion of a table.
- CPrevent the creation of a table.
- DPrevent the creation of data in a table.
11To do which three of the following can you use constraints?
- AEnforce rules on the data in a table whenever a row is inserted, updated, or deleted.
- BPrevent the dropping of a table.
- CPrevent the creation of a table.
- DPrevent the creation of data in a table.
12Indexes must be created manually and serve to speed up access to rows in a table.
- ATrue
- BFalse
Information
- Description
- database
- Author
- Jairo Jairo
- Language
- Español
- Views
- 225
- Tags
- Rating
- No ratings yet Rate this quiz