IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23612


Ignore:
Timestamp:
Mar 30, 2009, 2:41:33 PM (17 years ago)
Author:
Paul Price
Message:

Adding exp_id. Cleaning up.

File:
1 edited

Legend:

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

    r23418 r23612  
    11SELECT
    22    *
    3 FROM
    4     (SELECT DISTINCT
     3FROM (
     4    SELECT DISTINCT
    55        fakeRun.*,
    66        chipRun.chip_id,
     
    88        rawExp.telescope,
    99        rawExp.dateobs,
     10        rawExp.exp_id,
    1011        rawExp.exp_tag,
    1112        rawExp.exp_name,
     
    2829        rawExp.sun_angle
    2930    FROM fakeRun
    30     JOIN camRun
    31         using(cam_id)
    32     JOIN chipRun
    33         using(chip_id)
    34     JOIN rawExp
    35         using(exp_id)
     31    JOIN camRun USING(cam_id)
     32    JOIN chipRun USING(chip_id)
     33    JOIN rawExp USING(exp_id)
    3634    WHERE
    37         fakeRun.state = 'full') as Foo
     35        fakeRun.state = 'full') AS possibleWarps
Note: See TracChangeset for help on using the changeset viewer.