IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

rename exp_id -> exp_name
rename exp_tag -> exp_id
add add rawExp.exp_tag for use as an external name only

File:
1 edited

Legend:

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

    r12424 r14023  
    66        detRun.det_id,
    77        detRun.iteration,
    8         detInputExp.exp_tag
     8        detInputExp.exp_id
    99    FROM detRun
    1010        LEFT JOIN detInputExp
     
    1212        AND detRun.iteration = detInputExp.iteration
    1313    LEFT JOIN rawExp
    14         ON detInputExp.exp_tag = rawExp.exp_tag
     14        ON detInputExp.exp_id = rawExp.exp_id
    1515    LEFT JOIN detResidExp
    1616        ON detRun.det_id = detResidExp.det_id
    1717        AND detRun.iteration = detResidExp.iteration
    18         AND detInputExp.exp_tag = detResidExp.exp_tag
     18        AND detInputExp.exp_id = detResidExp.exp_id
    1919   WHERE
    2020        detRun.state = 'run'
     
    2323        detRun.iteration
    2424    HAVING
    25         COUNT(detResidExp.exp_tag) = COUNT(detInputExp.exp_tag)
     25        COUNT(detResidExp.exp_id) = COUNT(detInputExp.exp_id)
    2626    ) AS residdetrun
Note: See TracChangeset for help on using the changeset viewer.