Neudesic interview question

write SQL query. Write DAX expressions.