MySQL Error: 1054:Unknown column 'prefix' in 'where clause' for query SELECT DISTINCT(movie_id) FROM movie_thumbs WHERE prefix = 'work' LIMIT 3500