Conditionally render the contents based on whether rows are returned by the query.
{% if data="demo_daily_orders" %} Content {% /if %}