So I am trying to do a somewhat complex query and am having trouble. I have structured it like this as it seems to be the most logical:
SELECT (intake.id, s_matters.id, s_calls.cid, s_events.id) AS id,
(intake.name, s_matters.casename, s_calls.name, s_events.subject) AS title
FROM intake, s_matters, s_calls, s_events
WHERE title LIKE '%mi%'
That returns:
Error Code : 1241
Operand should contain 1 column(s)
So I know it has something to do with the bracket structure, but I don't know how to do it correctly.