- Timestamp:
- Feb 8, 2010, 4:06:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/dettool_pendingcleanup_processedexp.sql
r25324 r26815 1 1 -- need to restrict to a single detRunSummary (require all to say 'cleaned'?) 2 SELECT 2 SELECT DISTINCT 3 3 detProcessedExp.*, 4 4 rawExp.camera 5 FROM det RunSummary6 JOIN det ProcessedExp7 USING(det_id)5 FROM detProcessedExp 6 JOIN detInputExp 7 USING(det_id,exp_id) 8 8 JOIN rawExp 9 9 USING(exp_id) 10 10 WHERE 11 ((detRunSummary.data_state = 'goto_cleaned' 12 AND detProcessedExp.data_state = 'full') 13 OR (detRunSummary.data_state = 'goto_scrubbed' 14 AND detProcessedExp.data_state = 'full') 15 OR (detRunSummary.data_state = 'goto_purged' 16 AND detProcessedExp.data_state = 'full') 17 OR detProcessedExp.data_state = 'goto_cleaned' 11 (detProcessedExp.data_state = 'goto_cleaned' 18 12 OR detProcessedExp.data_state = 'goto_scrubbed' 19 13 OR detProcessedExp.data_state = 'goto_purged')
Note:
See TracChangeset
for help on using the changeset viewer.
