Index: trunk/ippTools/src/dettool.c
===================================================================
--- trunk/ippTools/src/dettool.c	(revision 9442)
+++ trunk/ippTools/src/dettool.c	(revision 9443)
@@ -1434,5 +1434,5 @@
 
     psString query = psStringCopy(
-        " SELECT"
+        " SELECT DISTINCT"
         "   detRun.det_type,"
         "   detProcessedImfile.*"
