Yii2 subquery in Active Record
Asked 07 September, 2021
Viewed 2.7K times
  • 67
Votes

How can I convert this sql into active record query

SELECT * FROM `base_twitter` WHERE id NOT IN (SELECT base_id from base_followers)

3 Answer