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