Changeset 35672 for trunk/ippTools/share/bgtool_advancechip.sql
- Timestamp:
- Jun 18, 2013, 1:46:43 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/share/bgtool_advancechip.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/bgtool_advancechip.sql
r28486 r35672 3 3 chipBackgroundImfile.magicked 4 4 FROM chipBackgroundRun 5 JOIN chipProcessedImfile USING(chip_id) 6 LEFT JOIN chipBackgroundImfile USING(chip_bg_id, class_id) 5 JOIN camRun using(cam_id) 6 JOIN chipProcessedImfile ON chipBackgroundRun.chip_id = chipProcessedImfile.chip_id 7 JOIN chipRun AS bgsub_chipRun on camRun.chip_id = bgsub_chipRun.chip_id 8 JOIN chipProcessedImfile AS bgsub_chipProcessedImfile 9 ON (bgsub_chipRun.chip_id = bgsub_chipProcessedImfile.chip_id 10 AND bgsub_chipProcessedImfile.class_id = chipProcessedImfile.class_id) 11 LEFT JOIN chipBackgroundImfile 12 ON (chipBackgroundRun.chip_bg_id = chipBackgroundImfile.chip_bg_id 13 AND chipBackgroundImfile.class_id = chipProcessedImfile.class_id) 7 14 WHERE chipBackgroundRun.state = 'new' 8 15 AND chipProcessedImfile.quality = 0 9 16 AND chipProcessedImfile.fault = 0 17 AND bgsub_chipProcessedImfile.quality = 0 10 18 -- WHERE hook %s 11 GROUP BY chip _bg_id19 GROUP BY chipBackgroundRun.chip_bg_id 12 20 HAVING 13 21 COUNT(chipBackgroundImfile.class_id) = COUNT(chipProcessedImfile.class_id)
Note:
See TracChangeset
for help on using the changeset viewer.
