updates
This commit is contained in:
parent
0b61129818
commit
a9ffd16275
1 changed files with 24 additions and 0 deletions
|
@ -461,3 +461,27 @@ https://www.topdecked.com/decks/alive/833c308f-219f-4624-8b32-1adedcb477f0
|
|||
|
||||
#+RESULTS:
|
||||
[[file:tutor-sets.png]]
|
||||
|
||||
* Identifying default cards for oracle entries
|
||||
#+begin_src sql
|
||||
SELECT oracle.oracle_id
|
||||
, oracle.name
|
||||
, scryfall.scryfall_id
|
||||
, scryfall.set_code
|
||||
, scryfall.collector_number
|
||||
FROM oracle
|
||||
JOIN (
|
||||
SELECT DISTINCT ON (oracle_id) *
|
||||
FROM scryfall
|
||||
ORDER BY oracle_id, release_date DESC
|
||||
) scryfall USING (oracle_id)
|
||||
WHERE oracle.name IN ('Rampant Growth', 'Counterspell', 'Demonic Tutor', 'Jin-Gitaxias, Progress Tyrant')
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
| oracle_id | name | scryfall_id | set_code | collector_number |
|
||||
|--------------------------------------+-------------------------------+--------------------------------------+----------+------------------|
|
||||
| 82004860-e589-4e38-8d61-8c0210e4ea39 | Demonic Tutor | 085ed548-a8c8-40b3-8183-51c060bc95cb | 30A | 398 |
|
||||
| 8539f295-5d58-4436-a73a-b9277c4c7795 | Rampant Growth | ba3026d2-334d-41bd-8c6b-7de7d78e54e0 | 40K | 220 |
|
||||
| cc187110-1148-4090-bbb8-e205694a39f5 | Counterspell | d14d5ff3-40c0-4f22-91ad-d6c8447cb9e0 | DMR | 281 |
|
||||
| f5daadc1-98ff-480a-82bb-fe7bfaa7b60e | Jin-Gitaxias, Progress Tyrant | 9a5ffb0d-1fc3-40da-ac1f-19465aa8412b | NEO | 514 |
|
||||
|
|
Loading…
Reference in a new issue