With MySQL, I need to find all records where a column is like a term OR the term is equals a column but in another table.
For example:
select *
from table_a TA,
table_b TB
where TB.number = '1447'
or TA.subject like '%1447%'
In practice, I'm searching for a value, it can be on TB.number OR TA.subject. This SQL above is returning multiple records and it not matches the search.