SELECT
    deck.name,
    deck.description
FROM flashcard
INNER JOIN deck
    ON flashcard.deck_id = deck.id
WHERE deck.name IN RARRAY(?);
