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/faketool_completely_processed_exp.sql

    r25835 r43014  
    1717FROM
    1818    (SELECT
    19         fakeRun.*,
    20         rawImfile.class_id as rawimfile_class_id,
    21         fakeProcessedImfile.class_id
     19        fakeRun.*
     20--      These two fields below are not required and cause
     21--      trouble with the GROUP BY below
     22--      rawImfile.class_id as rawimfile_class_id,
     23--      fakeProcessedImfile.class_id
    2224    FROM fakeRun
    2325    JOIN camRun
Note: See TracChangeset for help on using the changeset viewer.