View the Exhibit and examine the details of the EMPLOYEES table.Evaluate the following SQL statement:SELECT phone_number

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899559
Joined: Mon Aug 02, 2021 8:13 am

View the Exhibit and examine the details of the EMPLOYEES table.Evaluate the following SQL statement:SELECT phone_number

Post by answerhappygod »

View the Exhibit and examine the details of the EMPLOYEES table.Evaluate the following SQL statement:SELECT phone_number,REGEXP_REPLACE(phone_number,'([[: digit: ]]{3})\.([[: digit: ]]{3})\.([[: digit: ]]{4})', ,(\1)\2-\3')"PHONE NUMBER"FROM employees;The query was written to format the PHONE_NUMBER for the employees. Which option would be the correct format in the output?
View The Exhibi 1
View The Exhibi 1 (377 KiB) Viewed 137 times
A. xxx-xxx-xxxx
B. (xxx) xxxxxxx
C. (xxx) xxx-xxxx
D. xxx-(xxx)-xxxx
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This question has been solved and has 1 reply.

You must be registered to view answers and replies in this topic. Registration is free.


Register Login
 
Post Reply