From what I’ve looked up this should be working. Why it is not is something I need help with. Would removing the AS statements do any good?
SELECT td.Title, ti.Path, td.ImageID, ti.ImageID, td.Description
FROM TravelImage as ti
Inner JOIN TravelImageDetails as td ON (ti.ImageID=td.ImageID)
AND Title LIKE '%" + @query + "%' OR Description LIKE '%" + @query + "%'
EDIT: the error that I’m getting is that it says the join is not supported
Try this query,
i think where condition is missing ?