]> matita.cs.unibo.it Git - helm.git/commitdiff
added query to fill no_concl_hyp table
authorStefano Zacchiroli <zack@upsilon.cc>
Tue, 9 Nov 2004 08:14:31 +0000 (08:14 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Tue, 9 Nov 2004 08:14:31 +0000 (08:14 +0000)
helm/metadata/sql/fill_no_concl_hyp.sql [new file with mode: 0644]

diff --git a/helm/metadata/sql/fill_no_concl_hyp.sql b/helm/metadata/sql/fill_no_concl_hyp.sql
new file mode 100644 (file)
index 0000000..3294fe1
--- /dev/null
@@ -0,0 +1,7 @@
+
+INSERT INTO no_concl_hyp
+SELECT source, COUNT(DISTINCT h_occurrence)
+FROM refObj
+WHERE NOT (h_position="http://www.cs.unibo.it/helm/schemas/schema-helm#InBody")
+GROUP BY source;
+