IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19105


Ignore:
Timestamp:
Aug 17, 2008, 2:50:56 PM (18 years ago)
Author:
eugene
Message:

remove tess_id from JOIN

File:
1 edited

Legend:

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

    r19092 r19105  
    1313    SELECT
    1414        skycell_id,
    15         tess_id,
    16         filter,
     15        warpSkyfile.tess_id,
     16        rawExp.filter,
    1717        COUNT(warpSkyfile.skycell_id) AS num_warp -- number of warps that can be stacked
    1818    FROM warpRun
    19         JOIN warpSkyfile USING(warp_id, tess_id)
    20         JOIN fakeRun USING(fake_id, tess_id)
    21         JOIN camRun USING(cam_id, tess_id)
    22         JOIN chipRun USING(chip_id, tess_id)
    23         JOIN rawExp USING(exp_id, tess_id)
     19        JOIN warpSkyfile USING(warp_id)
     20        JOIN fakeRun USING(fake_id)
     21        JOIN camRun USING(cam_id)
     22        JOIN chipRun USING(chip_id)
     23        JOIN rawExp USING(exp_id)
    2424    WHERE
    2525        warpRun.state = 'full'
Note: See TracChangeset for help on using the changeset viewer.