Index: trunk/ippMonitor/def/histogramFwhmMinorImage.d
===================================================================
--- trunk/ippMonitor/def/histogramFwhmMinorImage.d	(revision 28601)
+++ trunk/ippMonitor/def/histogramFwhmMinorImage.d	(revision 40882)
@@ -1,3 +1,3 @@
-TABLE camRun, chipRun, rawExp, camProcessedExp
+TABLE camRun JOIN chipRun USING (chip_id) JOIN rawExp USING (exp_id) JOIN camProcessedExp USING (cam_id)
 TITLE New histogram fwhm minor
 FILE  histogramFwhmMinorImage.php
@@ -5,7 +5,4 @@
 
 WHERE camRun.state = 'full'
-WHERE camRun.chip_id = chipRun.chip_id
-WHERE chipRun.exp_id = rawExp.exp_id
-WHERE camProcessedExp.cam_id = camRun.cam_id
 WHERE camProcessedExp.fault = 0
 
