Terra R.

asked • 12/22/24

HOW IS THIS SQL NOT WORKING

SELECT Employees.EmployeeID,EmployeePhone.EmployeeID

FROM Employees

InnerJoin EmployeePhone ON Employees.EmployeeID=EmployeePhone.EmployeeID;


Also if someone can answer how to specify what you want to distinct using the Distinct function That would be incredibly helpful!

1 Expert Answer

By:

Elizabeth C. answered • 12/22/24

Tutor
New to Wyzant

Terra R.

Thank you so much for your help! what if I had two things under select but only wanted to distinct one of them Such as Select Distinct Prices, Departments From Employees I only want Departments to be distinct not price, but price is what ends up being distinct do you have any advice? Thank you so much again
Report

12/22/24

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.