KPIT Technologies interview question

SQL server functions