Clairvoyant interview question

Coding and theory questions and sql scenario based