Dedalus interview question

Mainly was about complex db script