Index: openacs-4/packages/survey/tcl/survey-procs-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/survey/tcl/survey-procs-postgresql.xql,v
diff -u -r1.6 -r1.7
--- openacs-4/packages/survey/tcl/survey-procs-postgresql.xql 12 Mar 2003 01:05:25 -0000 1.6
+++ openacs-4/packages/survey/tcl/survey-procs-postgresql.xql 17 May 2003 12:30:26 -0000 1.7
@@ -28,6 +28,16 @@
+
+
+ select count(distinct survey_response__initial_user_id(response_id))
+ from
+ survey_responses
+ where survey_id=:survey_id
+
+
+
+
select r.initial_response_id, r.responding_user_id, r.response_id,