Changeset 18975 for trunk/ippTools/share
- Timestamp:
- Aug 8, 2008, 12:37:49 PM (18 years ago)
- Location:
- trunk/ippTools/share
- Files:
-
- 3 edited
-
difftool_skyfile.sql (modified) (1 diff)
-
stacktool_sumskyfile.sql (modified) (1 diff)
-
warptool_warped.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/difftool_skyfile.sql
r18952 r18975 3 3 diffRun.tess_id, 4 4 diffRun.state, 5 diffSkyfile.* 5 diffSkyfile.*, 6 rawExp.exp_id, 7 rawExp.camera 6 8 FROM diffRun 7 9 JOIN diffSkyfile 8 10 USING(diff_id) 11 -- my new stuff begins here 12 JOIN diffInputSkyfile 13 ON diffInputSkyfile.diff_id = diffRun.diff_id 14 AND diffInputSkyfile.template = 0 15 JOIN warpRun 16 ON diffInputSkyfile.warp_id = warpRun.warp_id 17 JOIN fakeRun 18 ON warpRun.fake_id = fakeRun.fake_id 19 JOIN camRun 20 ON camRun.cam_id = fakeRun.cam_id 21 JOIN chipRun 22 ON camRun.chip_id = chipRun.chip_id 23 JOIN rawExp 24 ON chipRun.exp_id = rawExp.exp_id 25 -- my new stuff ends here 9 26 WHERE 10 27 -- bogus test to allow appending conditionals -
trunk/ippTools/share/stacktool_sumskyfile.sql
r18951 r18975 1 1 SELECT 2 2 stackSumSkyfile.*, 3 stackRun.state 3 stackRun.state, 4 rawExp.camera 4 5 FROM stackRun 5 6 JOIN stackSumSkyfile 6 7 USING(stack_id) 8 JOIN warpRun 9 -- just need 1 warp to find the camera 10 ON warpRun.warp_id = (SELECT warp_id FROM stackInputSkyfile 11 WHERE stackInputSkyfile.stack_id = stackRun.stack_id limit 1) 12 JOIN fakeRun 13 ON warpRun.fake_id = fakeRun.fake_id 14 JOIN camRun 15 ON camRun.cam_id = fakeRun.cam_id 16 JOIN chipRun 17 ON camRun.chip_id = chipRun.chip_id 18 JOIN rawExp 19 ON chipRun.exp_id = rawExp.exp_id 7 20 WHERE 8 21 -- bogus test; just here so there there is a 'WHERE' stmt to append conditionals too -
trunk/ippTools/share/warptool_warped.sql
r18950 r18975 1 1 SELECT 2 2 warpSkyfile.*, 3 warpRun.state 3 warpRun.state, 4 rawExp.exp_id, 5 rawExp.camera 4 6 FROM warpRun 5 7 JOIN warpSkyfile 6 8 USING(warp_id) 9 JOIN fakeRun 10 ON warpRun.fake_id = fakeRun.fake_id 11 JOIN camRun 12 ON camRun.cam_id = fakeRun.cam_id 13 JOIN chipRun 14 ON camRun.chip_id = chipRun.chip_id 15 JOIN rawExp 16 ON chipRun.exp_id = rawExp.exp_id 7 17 WHERE 8 18 -- bogus test; just here so there there is a 'WHERE' stmt to append conditionals too
Note:
See TracChangeset
for help on using the changeset viewer.
