- Timestamp:
- Jun 15, 2011, 5:25:23 AM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110505
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippTools/share/laptool_definerun.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110505
- Property svn:mergeinfo changed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.
