I have a users table with many columns however I am trying to use the below 2 columns to fetch the users do not have expired = 1
The query should return only user 2. Any help is much appreciated.
user_id expired
1 1
1 0
2 0
2 0
3 1