I am learning how to use SQL and I want to work out if lightning has struck the same location more than once in 2019 using a dataset from NOAA.
This is the first couple of rows of the data table
I have tried multiple strategies for counting unique locations from the centre_point_geom column for example:
COUNT(DISTINCT center_point_geom)
but I keep getting this error message:
Aggregate functions with DISTINCT cannot be used with arguments of type GEOGRAPHY
How do I resolve this?