select * from content,content_tag where content.content_id = content_tag.content_id and content.main_title='%อาหาร%' or content_tag.main_tags='อาหาร' group by content.content_id
SELECT *
FROM content, content_tag
WHERE (
content.content_id = content_tag.content_id
AND content.main_title = '%อาหาร%'
)
OR (
content.content_id = content_tag.content_id
AND content_tag.main_tags = 'อาหาร'
)
GROUP BY content.content_id
LIMIT 0 , 30