Changeset 33034 for trunk/ippTools/share/staticskytool_todo.sql
- Timestamp:
- Dec 28, 2011, 1:20:06 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/share/staticskytool_todo.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/staticskytool_todo.sql
r28154 r33034 6 6 staticskyRun.state, 7 7 stackRun.tess_id, 8 stackRun.skycell_id 8 stackRun.skycell_id, 9 IFNULL(Label.priority, 10000) AS priority 9 10 FROM staticskyRun 10 11 JOIN staticskyInput USING (sky_id) 11 12 JOIN stackRun USING (stack_id) 12 13 LEFT JOIN staticskyResult USING(sky_id) 14 LEFT JOIN Label ON staticskyRun.label = Label.label 13 15 WHERE 14 16 (staticskyRun.state = 'new' AND staticskyResult.sky_id IS NULL) 17 AND (Label.active OR Label.active IS NULL) 18 15 19 -- WHERE hook %s 16 20 GROUP BY sky_id 17 21 HAVING SUM(IF(stackRun.state = 'full', 1, 0)) = COUNT(staticskyInput.sky_id) 22 ORDER BY priority DESC, sky_id
Note:
See TracChangeset
for help on using the changeset viewer.
