I use this query to get an Ads Info by title. My SQL Code:
This SQL Code work but it search only for title.
select a.title, b.type from ads a
inner join ads_infos b on a.title like concat('%', b.type, '%')
where a.id='1'
I want to use Inner Join with Concat for title and description.
select a.title, b.type from ads a
inner join ads_infos b on a.title like concat('%', b.type, '%')
inner join ads_infos b on a.description like concat('%', b.type, '%')
where a.id='1'
but this doesnt work.
SQL FIDDLE: Link