Write SQL query to solve given problem: List all of the credit cards that had expired by 2007.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT CardNumber FROM CreditCard WHERE ExpYear < 2007