Suma Soft interview question

2.Basic SQL questions and queries