Adyen interview question

In what do you think when starting solving an SQL problem?