I am having a table course and columns as place and cost with more than two rows.
I want my query to display the course which has the highest cost. I tried with the below query
select splace
from studies
group by splace
having max(ccost);
and got the error as argument of HAVING must be type boolean, not type integer
What mistake I have done? And What would be the correct query?