nerdexam
Microsoft

70-433 · Question #177

A table named Contacts includes a column named SmtpAddress. You must develop a report that returns e-mail addresses from the Contacts table that have the following format: at least one character…

The correct answer is B. Select * from Contacts where SmtpAddress like '_%@_%.org'. See the full explanation below for the reasoning.

Question

A table named Contacts includes a column named SmtpAddress. You must develop a report that returns e-mail addresses from the Contacts table that have the following format: at least one character, the at sign (@), at least one character, and then ".org". You need to return data that meets the requirements. Which Transact-SQL statement should you use?

Options

  • ASelect * from Contacts where SmtpAddress like '%@%[.]org'
  • BSelect * from Contacts where SmtpAddress like '%@%.org'
  • CSelect * from Contacts where SmtpAddress like '%@.org'
  • DSelect * from Contacts where SmtpAddress like '%@%.org'

How the community answered

(37 responses)
  • A
    5% (2)
  • B
    78% (29)
  • C
    14% (5)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 70-433 Practice