Changeset 27680
- Timestamp:
- Apr 14, 2010, 12:02:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/stacktool_definebyquery_select.sql
r26147 r27680 3 3 4 4 SELECT 5 tess_id, 5 6 skycell_id, 6 7 filter, 7 tess_id,8 8 num_warp, 9 9 MAX(num_stack) AS num_stack … … 11 11 -- Number of stack-ready warps as a function of skycell and filter 12 12 SELECT 13 warpSkyfile.tess_id as tess_id, 13 14 skycell_id, 14 warpSkyfile.tess_id as tess_id,15 15 rawExp.filter, 16 16 COUNT(warpSkyfile.skycell_id) AS num_warp -- number of warps that can be stacked … … 28 28 -- WHERE hook %s 29 29 GROUP BY 30 warpSkyfile.tess_id, 30 31 skycell_id, 31 32 filter … … 45 46 ) AS stackSizes 46 47 -- JOINing the warpsToStack and stackSizes tables 47 USING( skycell_id, filter)48 USING(tess_id, skycell_id, filter) 48 49 ) 49 50 GROUP BY 51 tess_id, 50 52 skycell_id, 51 53 filter
Note:
See TracChangeset
for help on using the changeset viewer.
