--Q3 -- Find the First Name and Last name --All customers are listed in the Sales.Customers table --Person.peron table h
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
--Q3 -- Find the First Name and Last name --All customers are listed in the Sales.Customers table --Person.peron table h
--Q3 -- Find the First Name and Last name --All customers are listed in the Sales.Customers table --Person.peron table has the names of everyone --for simplicity lets assume that Sales.Customers and Person person are related on customers.customerID = p.BusinessEntityID -- If a person is a customer select the customerID, if not levae it a blank --Q4 --Find the First Name and Last name of all persons who are not customers --All customers are listed in the Sales.Customers table --Person.peron table has the names of everyone --for simplicity lets assume that Sales.Customers and Person person are related on customers.customerID = p.Business EntityID --Q5 --Find the First Name and Last name of all persons who are not employees --All employees are listed in the Human Resources.Employees table --Person.peron table has the names of everyone --HumanResources. Employee and Person.person are related on BusinessEntityID
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!