Oracle
1Z0-047 · Question #16
View the Exhibit and examine the details for the CATEGORIES_TAB table. Evaluate the following incomplete SQL statement: SELECT category_name ,category_description FROM categories_tab You want to…
The correct answer is A. WHEREREGEXPJJKE(category_description, 'hard+.s'); B. WHERE REGEXPJJKE(category_description,`^H|hard+.s'). See the full explanation below for the reasoning.
Question
View the Exhibit and examine the details for the CATEGORIES_TAB table. Evaluate the following incomplete SQL statement:
SELECT category_name ,category_description FROM categories_tab You want to display only the rows that have 'harddisks' as part of the string in the CATEGORY_DESCRIPTION column. Which two WHERE clause options can give you the desired result? (Choose two.)
Exhibit
Options
- AWHEREREGEXPJJKE(category_description, 'hard+.s');
- BWHERE REGEXPJJKE(category_description,`^H|hard+.s');
- CWHERE REGEXPJJKE (category_description, '^H|hard+.s$');
- DWHEREREGEXPJJKE (category_description, '[^Hlhard+.s]');
How the community answered
(58 responses)- A81% (47)
- C7% (4)
- D12% (7)
Community Discussion
No community discussion yet for this question.
