I have a simple select statement in MySQL written below. It keeps giving me a syntax error for the first +
sign in the concatenation and I cannot figure out why. I also tried using the concat function and an error occurs as well.
select 1.VendorID, 1.VendorName, 1.VendorContactFName + " " + 1.VendorContactLName as Name
from Vendors as 1 JOIN
Vendors as 2
on 1.VendorID <> 2.VendorID and
1.VendorContactFName = 2.VendorContactFName
order by Name;