Index: /trunk/ippTools/src/dettool.c
===================================================================
--- /trunk/ippTools/src/dettool.c	(revision 8985)
+++ /trunk/ippTools/src/dettool.c	(revision 8986)
@@ -1045,9 +1045,12 @@
         "    detRun.iteration,"
         "    detRun.det_type,"
-        "    detProcessedImfile.class_id"
+        "    detProcessedImfile.class_id,"
+        "    rawDetrendExp.camera"
         " FROM detRun"
         " JOIN detInputExp"
         "    ON detRun.position = detInputExp.det_id"
         "    AND detRun.iteration = detInputExp.iteration"
+        " JOIN rawDetrendExp"
+        "    ON detInputExp.exp_id = rawDetrendExp.exp_id"
         " JOIN detProcessedImfile"
         "    ON detInputExp.det_id = detProcessedImfile.det_id"
