Changeset 4844 for temp


Ignore:
Timestamp:
2006/09/17 13:24:53 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/total/index.php

    r4843 r4844  
    614614    list($where, $arrval) = lfGetWhereMember('T2.create_date', $sdate, $edate, $type); 
    615615     
    616     $sql = "SELECT job, count(*) AS order_count, SUM(total) AS total, int8(AVG(total)) AS total_average "; 
     616    $sql = "SELECT job, count(*) AS order_count, SUM(total) AS total, (AVG(total)) AS total_average "; 
    617617    $sql.= "FROM dtb_customer AS T1 LEFT JOIN dtb_order AS T2 USING ( customer_id ) WHERE $where AND T2.del_flg = 0 "; 
    618618    $sql.= "GROUP BY job ORDER BY total DESC"; 
Note: See TracChangeset for help on using the changeset viewer.