The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 305 Weeks Ago, 1 Day Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
Using SQL Server AdventureWorks2014 database. The assignment is to build User-Defined Functions
Â
I don’t understand how to write the codes to pull in the required tables. The code is based on the following:
Â
Your manager has determined that a function should be created to allow easy access to a list of company e-mail addresses and phone numbers. While this serves as a practical tool for quick extraction of this information, it can also be joined to other queries as needed for more complex queries.
Â
Create the SQL query code used to explore the database tables and construct a complex function called "ContactList." Access seven tables for this function using multiple joins. Layout is an important consideration, particularly for debugging if errors are encountered. The function should call BusinessEntityID, Employee (Last + First Name), Job Title, Department, Type (Cell, Work, etc.), Phone Number, and Email Address. Run the function once you have completed it.
Attachments:
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly