SELECT *
FROM credit_cards_history
WHERE credit_card_id = 1
ORDER BY version DESC