Changeset 31604 for trunk/ippTools
- Timestamp:
- Jun 6, 2011, 12:53:23 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/share/laptool_definerun.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/laptool_definerun.sql
r31511 r31604 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.
