I have put COUNT(*) AS num_of_trips
in the SELECT
Clause.
Now, I want to use num_of_trips > 30
in WHERE
Clause but it gives "unrecognized name" error.
I also tried to workaround it by putting the same argument in WHERE
clause as:
ROUND(AVG(tripduration/60),2) > 30
but that also gave error.