IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 15, 2008, 9:58:12 AM (18 years ago)
Author:
eugene
Message:

fixed sql to work with master and register images

File:
1 edited

Legend:

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

    r16475 r16511  
     1-- this query needs to use the same fields in both of the tables in
     2-- the union statement, but we need to report the
     3-- detRunSummary.iteration in the first case, and this is missing in
     4-- the second case.
     5
    16SELECT DISTINCT
    27    det_id,
    3     iteration,
     8    good_iteration as iteration,
    49    filelevel
    510FROM
    611    (SELECT DISTINCT
    7         detRun.*
     12        detRun.*,
     13        detRunSummary.iteration as good_iteration
    814    FROM detRun
    915    JOIN detRunSummary
     
    1420    UNION
    1521    SELECT DISTINCT
    16         *
     22        detRun.*,
     23        detRun.iteration as good_iteration
    1724    FROM detRun
    1825    WHERE
Note: See TracChangeset for help on using the changeset viewer.