19 lines
306 B
MySQL
19 lines
306 B
MySQL
|
SELECT
|
||
|
"bricktracker_sets"."id",
|
||
|
"bricktracker_sets"."rebrickable_set" AS "set"
|
||
|
FROM "bricktracker_sets"
|
||
|
|
||
|
{% block join %}{% endblock %}
|
||
|
|
||
|
{% block where %}{% endblock %}
|
||
|
|
||
|
{% block group %}{% endblock %}
|
||
|
|
||
|
{% if order %}
|
||
|
ORDER BY {{ order }}
|
||
|
{% endif %}
|
||
|
|
||
|
{% if limit %}
|
||
|
LIMIT {{ limit }}
|
||
|
{% endif %}
|