IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 11, 2026, 3:09:36 PM (2 months ago)
Author:
eugene
Message:

fix various SQL errors caught by more strict mysql versions, especially: force SQL to select a specific entry from non-aggregated fields when other fields are aggregated using e.g., GROUP BY

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pstamp-20260421/ippTools/share/dettool_todetrunsummary.sql

    r23122 r43014  
    2222        detRun.mode,
    2323        detRun.workdir,
    24         detInputExp.exp_id,
    25         rawExp.camera
     24--      detInputExp.exp_id,
     25--      this chooses a specific value
     26--      for camera.  unclear if multiple
     27--      camera were used
     28        MIN(rawExp.camera) as camera
    2629    FROM detRun
    2730    JOIN detInputExp
Note: See TracChangeset for help on using the changeset viewer.