DynaTech Systems interview question

Basic sql and pervious experience