Changeset 14254
- Timestamp:
- Jul 16, 2007, 5:33:09 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/share/difftool_inputskyfile.sql (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/difftool_inputskyfile.sql
r14031 r14254 1 SELECT DISTINCT 2 warpSkyfile.*, 1 SELECT 2 diffRun.diff_id, 3 diffRun.skycell_id, 4 diffRun.tess_id, 5 NULL as stack_id, 6 warpSkyfile.warp_id, 7 warpSkyfile.uri, 8 warpSkyfile.path_base, 3 9 diffInputSkyfile.template, 4 10 rawExp.camera … … 22 28 WHERE 23 29 diffRun.state = 'run' 30 UNION 31 SELECT 32 diffRun.diff_id, 33 diffRun.skycell_id, 34 diffRun.tess_id, 35 stackSumSkyfile.stack_id, 36 NULL as warp_id, 37 stackSumSkyfile.uri, 38 stackSumSkyfile.path_base, 39 diffInputSkyfile.template, 40 rawExp.camera 41 FROM diffRun 42 JOIN diffInputSkyfile 43 USING(diff_id) 44 JOIN stackSumSkyfile 45 ON diffInputSkyfile.stack_id = stackSumSkyfile.stack_id 46 JOIN stackInputSkyfile 47 ON diffInputSkyfile.stack_id = stackInputSkyfile.stack_id 48 JOIN warpInputExp 49 ON stackInputSkyfile.warp_id = warpInputExp.warp_id 50 JOIN camProcessedExp 51 ON warpInputExp.cam_id = camProcessedExp.cam_id 52 JOIN chipRun 53 ON camProcessedExp.chip_id = chipRun.chip_id 54 JOIN chipProcessedImfile 55 ON chipRun.chip_id = chipProcessedImfile.chip_id 56 JOIN rawExp 57 ON chipProcessedImfile.exp_id = rawExp.exp_id 58 WHERE 59 diffRun.state = 'run' 24 60
Note:
See TracChangeset
for help on using the changeset viewer.
