The following simple query executes ok
select location_name, count(*)
from observation
where season (observation_date) = 'summer'
group by location_name;
Season is a function and the query returns the locations and number of occurences of a certain activity
I now want to modify it into a composite query that gives the name of the location with the largest number of observations in summer.
I am stumped with the logic
Any assistance would be gratefully appreciated
Thanks
select location_name, count(*)
from observation
where season (observation_date) = 'summer'
group by location_name;
Season is a function and the query returns the locations and number of occurences of a certain activity
I now want to modify it into a composite query that gives the name of the location with the largest number of observations in summer.
I am stumped with the logic
Any assistance would be gratefully appreciated
Thanks