{# query_edit_select.html #} {% extends "base.html" %} {% block extrahead %} {% endblock %} {% block content %} {% include "query_nav.html" %}
LIMIT row_count
or
LIMIT offset, row_count
to limit the results,
where offset
is numbered from 0 (not 1), and
row_count
is the number of records to retrieve
(so LIMIT 50
or LIMIT 0, 50
retrieves
the first 50 records, and LIMIT 50, 50
retrieves the
next 50).SELECT TOP 100 ...
to limit the results to the first 100 rows.
Created at | Delete query | Active? | Choose this one | SQL |
---|---|---|---|---|
{{ query.created }} | {% if query.active %}{% endif %} {{ query.active|yesno }} {% if query.active %}{% endif %} | {% if query.active %} (activated) {% else %} {% endif %} | {% comment %}Widest, so last:{% endcomment %}{{ query.formatted_query_safe|safe }} |