Clustox interview question

Do you know how to write db queries?