IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 5, 2007, 3:35:32 PM (19 years ago)
Author:
jhoblitt
Message:

remove regtool_find_unprocessed_imfile.sql

File:
1 edited

Legend:

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

    r14023 r14027  
    1 SELECT * FROM
     1SELECT DISTINCT * FROM
    22     -- the subselect is so where criteria can be specified without knowing
    33     -- which table the field came from
    44    (SELECT
    5         camPendingExp.*,
    6         chipProcessedExp.exp_id,
    7         chipProcessedExp.guide_id,
     5        camRun.*,
     6        chipProcessedImfile.exp_id,
    87        chipProcessedImfile.class_id,
    98        chipProcessedImfile.uri,
     
    1615        rawExp.telescope,
    1716        rawExp.filelevel
    18     FROM camPendingExp
    19     JOIN chipProcessedExp
     17    FROM camRun
     18    JOIN chipRun
    2019        USING(chip_id)
    2120    JOIN chipProcessedImfile
    2221        USING(chip_id)
    2322    JOIN rawExp
    24         ON chipProcessedExp.exp_id = rawExp.exp_id
     23        ON chipProcessedImfile.exp_id = rawExp.exp_id
    2524    LEFT JOIN camProcessedExp
    26         ON camPendingExp.cam_id = camProcessedExp.cam_id
     25        ON camRun.cam_id = camProcessedExp.cam_id
    2726    LEFT JOIN camMask
    28         ON camPendingExp.label = camMask.label
     27        ON camRun.label = camMask.label
    2928    WHERE
    3029        camProcessedExp.cam_id IS NULL
Note: See TracChangeset for help on using the changeset viewer.