Skip to content

Instantly share code, notes, and snippets.

@pigreco
Created May 6, 2016 09:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pigreco/d3b674f3f8885d32f70f6b19df652511 to your computer and use it in GitHub Desktop.
Save pigreco/d3b674f3f8885d32f70f6b19df652511 to your computer and use it in GitHub Desktop.
SELECT "inter_esa_clc"."id_esa",Max("inter_esa_clc"."area_mq") as max_area,Count(*) as conteggio
FROM "inter_esa_clc"
GROUP BY "inter_esa_clc"."id_esa"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment