Neudesic Interview Question

write SQL query. Write DAX expressions.