I had asked this in the general forum area but hoping somebody who is familiar with SQL can help out. I am using SQLite in firefox to do this.
I am trying to pull up anything that equals 'Computer' as a TYPE and not like a certain couple models.
I ran my syntax through an online syntax checker and it says it's fine. I put it in to SQLite and it took but it's pulling up those models I don't want.
The specific syntax is below:
SELECT name, id, type, model, description
FROM devices
WHERE type = 'Computer' and model NOT LIKE '6200%' OR type = 'Computer' and model NOT LIKE '6000%'
When I run, it pulls up the models I don't want also. I've played with a couple other ways to get this using varied syntax but no luck. If I just use the syntax before the OR part, it works as I want but I need to have it exclude those two models.
Does anyone see...