:
| Name |
Ed. | Price | Type | Cost | P | Modified | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Rarity | Color | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Creature (4) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Champion of Dusk | $0.25 |
Creature - Vampire Knight
|
4 | 17-Aug-2025 16:22 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Murmuring Mystic | $0.33 |
Creature - Human Wizard
|
1 | 17-Aug-2025 16:22 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | River Kelpie | $0.20 |
Creature - Beast
|
3 | 17-Aug-2025 16:22 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Solemn Simulacrum | $0.37 |
Artifact Creature - Golem
|
2 | 17-Aug-2025 16:22 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Instant (4) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Corrupted Conviction | $0.23 |
Instant
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Displace | $0.42 |
Instant
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Frantic Search | $0.51 |
Instant
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Supernatural Stamina | $0.14 |
Instant
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sorcery (3) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Read the Bones | $0.22 |
Sorcery
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Sign in Blood | $0.34 |
Sorcery
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Unearth | $0.55 |
Sorcery
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Artifact (4) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2 | Everflowing Chalice | $0.38 |
Artifact
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Orzhov Signet | $0.38 |
Artifact
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Transmogrant's Crown | $0.24 |
Artifact - Equipment
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Enchantment (2) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Chronic Flooding | $0.08 |
Enchantment - Aura
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Hidden Stockpile | $0.15 |
Enchantment
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Land (8) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Dimir Aqueduct | $0.31 |
Land
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Jwar Isle Refuge | $0.21 |
Land
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2 | Orzhov Basilica | $0.22 |
Land
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Rakdos Carnarium | $0.17 |
Land
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Sunken Hollow | $0.33 |
Land - Island Swamp
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Temple of Deceit | $0.16 |
Land
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | Temple of Silence | $0.16 |
Land
|
17-Aug-2025 16:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sideboard - 0 cards, 0 distinct
:
|
No cards here. :(
|
Comments
Text with Printing (Arena, Moxfield etc)
INSERT INTO @PARAMETERS VALUES ('A')
INSERT INTO @PARAMETERS VALUES ('B')
INSERT INTO @PARAMETERS VALUES ('C')
INSERT INTO @PARAMETERS VALUES ('D')
INSERT INTO @PARAMETERS VALUES ('E')
SELECT * FROM @PARAMETERS;
WITH OrderedParams AS (
SELECT
PARAMETER_NAME,
ROW_NUMBER() OVER (ORDER BY PARAMETER_NAME) AS rn
FROM @PARAMETERS
),
Masks AS (
SELECT TOP (POWER(2, (SELECT COUNT(*) FROM @PARAMETERS)) - 1)
ROW_NUMBER() OVER (ORDER BY (SELECT NULL)) AS mask
FROM sys.objects
),
Combinations AS (
SELECT
STRING_AGG(p.PARAMETER_NAME, '-') WITHIN GROUP (ORDER BY p.rn) AS combination,
COUNT(*) AS combination_size
FROM Masks m
JOIN OrderedParams p
ON (m.mask & POWER(2, p.rn - 1)) > 0
GROUP BY m.mask
)
SELECT
combination,
combination_size
FROM Combinations
ORDER BY combination_size, combination;
WITH OrderedParams AS (
SELECT
parameter_name,
ROW_NUMBER() OVER (ORDER BY parameter_name) - 1 AS bit_pos
FROM @Parameters
),
Masks AS (
SELECT TOP (POWER(2, (SELECT COUNT(*) FROM @Parameters)) - 1)
ROW_NUMBER() OVER (ORDER BY (SELECT NULL)) AS mask
FROM sys.objects
),
Combinations AS (
SELECT
m.mask,
STRING_AGG(p.parameter_name, '-')
WITHIN GROUP (ORDER BY p.bit_pos) AS combination,
COUNT(*) AS combination_size
FROM Masks m
JOIN OrderedParams p
ON (m.mask & POWER(2, p.bit_pos)) > 0
GROUP BY m.mask
)
SELECT
c1.combination AS Combination1,
c2.combination AS Combination2,
c1.combination_size AS Size1,
c2.combination_size AS Size2
FROM Combinations c1
JOIN Combinations c2
ON c1.mask < c2.mask
AND (c1.mask & c2.mask) = 0
ORDER BY Size1, Size2, Combination1, Combination2;