IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 16, 2008, 9:25:45 AM (18 years ago)
Author:
Paul Price
Message:

Adding additional comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/stacktool_definebyquery_select.sql

    r18574 r18577  
     1-- This is the SELECT part of the query to get a list of skycells with
     2-- warps that are ready to be stacked, along with the numbers of warps
     3-- ready to be stacked and already in stacks.  It needs to be
     4-- completed by a GROUP BY statement (see below).
     5
    16SELECT
    27    warpSkyfile.skycell_id,
     
    49    stackRun.stack_id,
    510    rawExp.filter,
    6     COUNT(warpSkyfile.skycell_id) AS num_avail,
    7     COUNT(stackRun.stack_id) AS num_extant
     11    COUNT(warpSkyfile.skycell_id) AS num_avail, -- number available to be stacked
     12    COUNT(stackRun.stack_id) AS num_extant -- number already in the stack
    813FROM warpRun
    914JOIN warpSkyfile
     
    2833    AND warpSkyfile.fault = 0
    2934-- Here should follow the SQL in stacktool_definebyquery_groupby.sql,
    30 -- after additional WHERE conditions have been added
     35-- after any additional WHERE conditions have been added
Note: See TracChangeset for help on using the changeset viewer.