Sprinklr interview question

Commands in SQL. Write a query