<dtml-comment>
title:
connection_id:MySQL
max_rows:100000
max_cache:100
cache_time:0
class_name:ZSQLBrain
class_file:zsqlbrain.py
</dtml-comment>
<params>uid</params>
SELECT sum(movement.quantity) AS total_quantity, sum(movement.total_price) AS total_price from movement
WHERE movement.delivery_uid = <dtml-var uid>
AND movement.has_cell_content = 0