nerdexam
Oracle

1Z0-882 · Question #110

You want to query the VARCHAR column ` code' values that match: Start with "p" End with "_" Contain more than 3 characters Assume that sql_mode is blank. Which two queries select only those rows?

The correct answer is A. SELECT code FROM operations WHERE code LIKE "p%%_"; C. SELECT code FROM operations WHERE code LIKE "p%_\_". Exam Questions, Study Guides, Practice Tests. Lead the way to help you pass any IT Certification exams, 100% Pass Guaranteed or Full Refund. Especially Cisco, CompTIA, Citrix, EMC, HP, Oracle, VMware, Juniper, Check Point, LPI, Nortel, EXIN and so on. Our Slogan: First Test…

SQL Data Manipulation

Question

You want to query the VARCHAR column ` code' values that match:

Start with "p" End with "_" Contain more than 3 characters Assume that sql_mode is blank. Which two queries select only those rows?

Options

  • ASELECT code FROM operations WHERE code LIKE "p%%_";
  • BSELECT code FROM operations WHERE code LIKE " '%'%_' "ESCAPE " ` '';
  • CSELECT code FROM operations WHERE code LIKE "p%__";
  • DSELECT code FROM operations WHERE code LIKE "p_%_";
  • ESELECT code FROM operations WHERE code LIKE "p_%%;"ESCAPE "/";

How the community answered

(28 responses)
  • A
    71% (20)
  • B
    18% (5)
  • D
    7% (2)
  • E
    4% (1)

Explanation

Exam Questions, Study Guides, Practice Tests. Lead the way to help you pass any IT Certification exams, 100% Pass Guaranteed or Full Refund. Especially Cisco, CompTIA, Citrix, EMC, HP, Oracle, VMware, Juniper, Check Point, LPI, Nortel, EXIN and so on. Our Slogan: First Test, First Pass. Help you to pass any IT Certification exams at the first try. You can reach us at any of the email addresses listed below. Any problems about IT certification or our products, you could rely upon us, we will give you satisfactory answers in 24 hours.

Topics

#LIKE operator#wildcard matching#ESCAPE clause#pattern matching

Community Discussion

No community discussion yet for this question.

Full 1Z0-882 Practice