Companion Labs interview question

what does select statement does