Oracle
1Z0-047 · Question #52
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. WHERE REGEXP_LIKE (category_description, 'hard+.s'); B. WHERE REGEXP_LIKE (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.)
Options
- AWHERE REGEXP_LIKE (category_description, 'hard+.s');
- BWHERE REGEXP_LIKE (category_description,`^H|hard+.s');
- CWHERE REGEXP_LIKE (category_description, '^H|hard+.s$');
- DWHERE REGEXP_LIKE (category_description, '[^Hlhard+.s]');
How the community answered
(42 responses)- A74% (31)
- C7% (3)
- D19% (8)
Community Discussion
No community discussion yet for this question.