Dunn Solutions interview question

write some sql query