Infosys interview question

Dsa SQL arrays sorting searching