Error in query: Select distinct id, name, MIN(price) as min, MAX(price) as max from catalog where cat=cup GROUP BY id ORDER BY id;. Unknown column 'cup' in 'where clause'