<dtml-comment>
title:
connection_id:erp5_sql_connection
max_rows:1000
max_cache:100
cache_time:0
class_name:
class_file:
</dtml-comment>
<params>catalog</params>
SELECT
  uid, path
FROM
  record
WHERE
  played = 0
  AND catalog = <dtml-sqlvar catalog type="int"> 
ORDER BY
  date
