Quantiphi interview question

Full dbms