]> matita.cs.unibo.it Git - helm.git/commitdiff
sql for filling hits table
authorStefano Zacchiroli <zack@upsilon.cc>
Fri, 13 May 2005 11:22:06 +0000 (11:22 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Fri, 13 May 2005 11:22:06 +0000 (11:22 +0000)
helm/metadata/sql/rating.sql [new file with mode: 0644]

diff --git a/helm/metadata/sql/rating.sql b/helm/metadata/sql/rating.sql
new file mode 100644 (file)
index 0000000..b34a9fd
--- /dev/null
@@ -0,0 +1,6 @@
+
+INSERT INTO hits
+SELECT h_occurrence, COUNT(source)
+FROM refObj
+GROUP BY h_occurrence;
+