I am trying to figure out what SQL query I need to fetch records from my users table.
"SELECT * FROM users WHERE level!='4'"
Level 4 users are "COMPLETED" so by default, they are not shown. But I do want to show users that are COMPLETED if their ACTIVITY value is less than 5. Any user with an activity value of 5 is "Green" and does not require my attention.
Knowing my luck, it's a very simple answer, but it's been a long day and my head is fried.