IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 1, 2007, 4:57:45 PM (19 years ago)
Author:
jhoblitt
Message:

first pass working chiptool -queuerawexp
normalize chipPending[Exp|Imfile] & chipProcessed[Exp|Imfile]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/chiptool_completely_processed_exp.sql

    r12096 r12174  
    1212    ON chipPendingExp.exp_tag = rawExp.exp_tag
    1313LEFT JOIN chipProcessedExp
    14     ON chipPendingExp.exp_tag = chipProcessedExp.exp_tag
     14    ON chipPendingExp.chip_id = chipProcessedExp.chip_id
    1515LEFT JOIN chipPendingImfile
    16     ON chipPendingExp.exp_tag = chipPendingImfile.exp_tag
     16    ON chipPendingExp.chip_id = chipPendingImfile.chip_id
    1717LEFT JOIN chipProcessedImfile
    18     ON chipPendingExp.exp_tag = chipProcessedImfile.exp_tag
     18    ON chipPendingExp.chip_id = chipProcessedImfile.chip_id
    1919WHERE
    20     chipProcessedExp.exp_tag IS NULL
    21     AND chipPendingImfile.exp_tag IS NULL
    22     AND chipProcessedImfile.exp_tag IS NOT NULL
     20    chipProcessedExp.chip_id IS NULL
     21    AND chipPendingImfile.chip_id IS NULL
     22    AND chipProcessedImfile.chip_id IS NOT NULL
    2323GROUP BY
    24     chipPendingExp.exp_tag
     24    chipPendingExp.chip_id
    2525HAVING rawExp.imfiles = COUNT(chipProcessedImfile.class_id)
Note: See TracChangeset for help on using the changeset viewer.