Changeset 13450


Ignore:
Timestamp:
2007/05/25 15:07:57 (17 years ago)
Author:
kakinaka
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/admin/total/index.php

    r13424 r13450  
    661661    $sql = "SELECT job, count(*) AS order_count, SUM(total) AS total, (AVG(total)) AS total_average "; 
    662662    $sql.= "FROM dtb_customer AS T1 LEFT JOIN dtb_order AS T2 USING ( customer_id ) WHERE $where AND T2.del_flg = 0 and T2.status <> " . ORDER_CANCEL; 
    663     $sql.= "GROUP BY job ORDER BY total DESC"; 
     663    $sql.= " GROUP BY job ORDER BY total DESC"; 
    664664     
    665665    $objQuery = new SC_Query(); 
Note: See TracChangeset for help on using the changeset viewer.