Skip to content

Instantly share code, notes, and snippets.

@dnomadb
Created January 21, 2015 18:37
Show Gist options
  • Save dnomadb/2b6c6994cb5192d94b5d to your computer and use it in GitHub Desktop.
Save dnomadb/2b6c6994cb5192d94b5d to your computer and use it in GitHub Desktop.
lattice=# select quadtree like 'n1n0s%' as qt, avg(value) from latticegrid group by qt;
qt | avg
----+---------------------------
f | 0.36889253738457339608819
t | -7.09836274025862024720
(2 rows)
Time: 4827.139 ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment