Ask Question
28 November, 04:40

List the name, department, phone number, and email address of employees with a phone number beginning with "5-".

+5
Answers (1)
  1. 28 November, 05:17
    0
    select name, department, phone_number, email from employee e

    where e. phone_number like '5-%'

    Explanation:

    On Chegg + SQL textbook

    here we are making use of like operator to match any phone number that starts with '5-'. Like operator has two wild card that can be used with it.

    (%) - -This represents zero, one or multiple characters.

    (_) - - This represents a single character.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “List the name, department, phone number, and email address of employees with a phone number beginning with "5-". ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers