FDM Group interview question

Sql command used to retrieve data