X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmetadata%2Fsql%2Ffill_inconcl_aux.sql;h=2e7140e18b4ffd226b240b1c1ce14f90299de702;hb=b41886e9d21d756279bd6a2ec3f19c17b1a64401;hp=55c388462f8e1db74d3a4d9d63d50b4c6b173641;hpb=b7c3d2c30326b54f8126b578503acc4a53440936;p=helm.git diff --git a/helm/metadata/sql/fill_inconcl_aux.sql b/helm/metadata/sql/fill_inconcl_aux.sql index 55c388462..2e7140e18 100644 --- a/helm/metadata/sql/fill_inconcl_aux.sql +++ b/helm/metadata/sql/fill_inconcl_aux.sql @@ -1,3 +1,9 @@ +INSERT INTO no_inconcl_aux +SELECT source, COUNT(h_occurrence) +FROM refObj +WHERE + h_position='http://www.cs.unibo.it/helm/schemas/schema-helm#InConclusion' + OR h_position='http://www.cs.unibo.it/helm/schemas/schema-helm#MainConclusion' +GROUP BY source; - insert into no_inconcl_aux select source,count(h_occurrence) from refObj where h_position='http://www.cs.unibo.it/helm/schemas/schema-helm#InConclusion' or h_position='http://www.cs.unibo.it/helm/schemas/schema-helm#MainConclusion' group by source;