I have a query as follows
SELECT s.*
     , u.email
     , u.first_name
     , COUNT(l.tweet_id) as likes
     , l.user_tweetid 
  FROM social_tweets AS s
  JOIN users AS u 
    ON s.user_id = u.id 
  left 
  JOIN social_likes AS l 
    ON s.id = l.tweet_id 
 WHERE s.user_id IN  ($string) 
 group 
    by s.id 
 ORDER 
    BY created_date  DESC 
 LIMIT 7
Here, I am getting all IDs. However, I simply want l.user_tweetid = '246'. How can I apply the WHERE condition to only that column?
 
     
     
     
     
    