MAQ Software interview question

Basic SQL and coding questions