I am running my first SQL query and not sure where my error lies. The first line (for the date) seems to run correctly. None of the other lines seem to be working IE it returns a results with ratings of less than 3.5. I am not receiving an error message when I run the query, it runs successfully. If possible explain the 'concept' that i'm missing.
It seems like this should be a simple query, it pulls from one table 'app'. 'rating' 'downloads' and 'lastUpdate' are all columns.
SELECT * FROM app
WHERE lastUpdate >= '2011-08-01' AND
rating >= '3.5' AND
downloads = '1 - 5' OR '10 - 50' OR '50 - 100' OR '100 - 500'
ANDon the new line, with the next statement. Not necessary or anything, just the way it's usually done.