Ahhh...NOW I see what you meant. SORRY!
Do it in steps:
FROM photo AS P,
( SELECT pk FROM photo
WHERE userid = '100' AND comments = 'like' ) AS X
WHERE P.pk = X.pk
AND MATCH (P.tags,P.title) AGAINST ('Try + query ' IN BOOLEAN MODE)
is the Primary Key field of your photos table.
I *think* that should do it.