Changeset 31628 for branches/eam_branches/ipp-20110505/ippTools/share
- Timestamp:
- Jun 15, 2011, 5:25:23 AM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110505
- Files:
-
- 7 edited
-
. (modified) (1 prop)
-
ippTools/share/addtool_find_sky_id.sql (modified) (2 diffs)
-
ippTools/share/addtool_find_sky_id_dvo.sql (modified) (1 diff)
-
ippTools/share/camtool_find_pendingimfile.sql (modified) (1 prop)
-
ippTools/share/laptool_definerun.sql (modified) (1 diff)
-
ippTools/share/pxadmin_create_tables.sql (modified) (1 prop)
-
ippTools/share/regtool_pendingimfile.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110505
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20110505/ippTools/share/addtool_find_sky_id.sql
r31375 r31628 3 3 FROM 4 4 staticskyResult 5 join static SkyRun using (sky_id)6 join static SkyInput using (stack_id)5 join staticskyRun using (sky_id) 6 join staticskyInput using(sky_id) 7 7 JOIN stackRun USING(stack_id) 8 8 … … 13 13 ) as foo 14 14 ON sky_id = added_sky_id 15 AND stage = 's ky'15 AND stage = 'staticsky' 16 16 -- hook for qualifying the join on the previous_dvodb 17 17 AND %s -
branches/eam_branches/ipp-20110505/ippTools/share/addtool_find_sky_id_dvo.sql
r31375 r31628 1 1 SELECT staticskyRun.* FROM staticskyResult 2 2 JOIN staticskyRun USING(sky_id) 3 join staticskyInput using(sky_id) 4 JOIN stackRun USING(stack_id) 5 3 6 WHERE staticskyRun.state = 'full' and staticskyResult.quality = 0 4 7 AND sky_id NOT IN (SELECT sky_id -
branches/eam_branches/ipp-20110505/ippTools/share/camtool_find_pendingimfile.sql
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/eam_branches/ipp-20110505/ippTools/share/laptool_definerun.sql
r31587 r31628 8 8 ) AS want 9 9 LEFT JOIN 10 (SELECT exp_id,MAX(chip_id) AS chip_id 11 FROM lapExp 10 (SELECT exp_id,MAX(chip_id) AS chip_id, chipRun.state 11 FROM lapExp JOIN chipRun USING(exp_id,chip_id) 12 12 where private IS FALSE 13 13 AND chip_id IS NOT NULL 14 AND active = TRUE ) AS have USING(exp_id) 14 AND 15 ( 16 -- (active = TRUE) OR 17 (chipRun.state = 'full') OR 18 (chipRun.state = 'new') 19 -- when we can do updates, put that here. 20 ) 21 GROUP BY exp_id 22 ) AS have USING(exp_id) 15 23 16 24 -
branches/eam_branches/ipp-20110505/ippTools/share/pxadmin_create_tables.sql
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/eam_branches/ipp-20110505/ippTools/share/regtool_pendingimfile.sql
r25418 r31628 8 8 newImfile.uri, 9 9 newImfile.bytes, 10 newImfile.md5sum 10 newImfile.md5sum, 11 summitExp.dateobs AS summit_dateobs 11 12 FROM newImfile 12 13 JOIN newExp 13 14 USING(exp_id) 15 JOIN summitExp USING(summit_id) 14 16 LEFT JOIN rawImfile 15 17 ON newExp.exp_id = rawImfile.exp_id
Note:
See TracChangeset
for help on using the changeset viewer.
