BrickTracker/bricktracker/sql/set/list/using_minifigure.sql

14 lines
261 B
MySQL
Raw Normal View History

{% extends 'set/base/full.sql' %}
2025-01-17 11:03:00 +01:00
{% block where %}
WHERE "bricktracker_sets"."id" IN (
2025-01-17 11:03:00 +01:00
SELECT
"inventory"."u_id"
FROM "inventory"
2025-01-17 11:03:00 +01:00
WHERE "inventory"."set_num" IS NOT DISTINCT FROM :fig_num
2025-01-17 11:03:00 +01:00
GROUP BY "inventory"."u_id"
2025-01-17 11:03:00 +01:00
)
{% endblock %}