IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 27, 2008, 5:57:36 PM (18 years ago)
Author:
eugene
Message:

do not join against tess_id

File:
1 edited

Legend:

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

    r19092 r19258  
    2424        COUNT(warpSkyfile.skycell_id) AS num_warp -- number of warps that can be stacked
    2525    FROM warpRun
    26         JOIN warpSkyfile USING(warp_id, tess_id)
    27         JOIN fakeRun USING(fake_id, tess_id)
    28         JOIN camRun USING(cam_id, tess_id)
    29         JOIN chipRun USING(chip_id, tess_id)
    30         JOIN rawExp USING(exp_id, tess_id)
     26        JOIN warpSkyfile USING(warp_id)
     27        JOIN fakeRun USING(fake_id)
     28        JOIN camRun USING(cam_id)
     29        JOIN chipRun USING(chip_id)
     30        JOIN rawExp USING(exp_id)
    3131    WHERE
    3232        warpRun.state = 'full'
     
    5252        ) AS stackSizes
    5353    -- JOINing the warpsToStack and stackSizes tables
    54         USING(skycell_id, tess_id, filter)
     54        USING(skycell_id, filter)
    5555        )
    5656    GROUP BY
    5757        skycell_id,
    58         tess_id,
    5958        filter
    6059;
Note: See TracChangeset for help on using the changeset viewer.