KloudGin interview question

I was asked about the sql queries and array questions.